update 完善了部分开发文档
This commit is contained in:
11
Web/public/doc-code/api/usage.js
Normal file
11
Web/public/doc-code/api/usage.js
Normal file
@@ -0,0 +1,11 @@
|
||||
this.$api
|
||||
.apiName(params)
|
||||
.then((res) => {
|
||||
/* ... */
|
||||
})
|
||||
.catch((error) => {
|
||||
/* catch */
|
||||
})
|
||||
.finally(() => {
|
||||
/* finally */
|
||||
})
|
||||
Reference in New Issue
Block a user