Skip to content

Commit

Permalink
docs: <unicloud-db>
Browse files Browse the repository at this point in the history
  • Loading branch information
dcloudhdx committed Dec 11, 2020
1 parent 027c583 commit 8a74d71
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/component/unicloud-db.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,13 @@ this.$refs.udb.remove(ids, {
action: '', // 删除前后的动作
confirmTitle: '提示', // 确认框标题
confirmContent: '是否删除该数据', // 确认框内容
callback: (res) => { // 删除成功后的回调
success: (res) => { // 删除成功后的回调
const { code, message } = res
},
fail: (err) => { // 删除失败后的回调
const { message } = res
},
complete: (res) => { // 完成后的回调
}
})
```
Expand Down

0 comments on commit 8a74d71

Please sign in to comment.