提交 8db115ac 编写于 作者: 雪洛's avatar 雪洛

fix: 需等待云对象执行

上级 1c5ab115
......@@ -108,7 +108,7 @@
const todo = uniCloud.importObject('todo', {
customUI: this.isUniTest
})
todo.success().then((res : UTSJSONObject) => {
await todo.success().then((res : UTSJSONObject) => {
this.successErrCode = res['errCode'] as number
this.notify(res['showMessage'] as string, '提示')
}).catch((err : any | null) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册