From 8bed2a9b41b93b32c4becadc8e5903615cf2ff4c Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Wed, 13 Sep 2023 11:05:57 +0800 Subject: [PATCH] chore: update modal title --- pages/API/import-object/import-object.uvue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/API/import-object/import-object.uvue b/pages/API/import-object/import-object.uvue index 0b1d307a..d2b13a1b 100644 --- a/pages/API/import-object/import-object.uvue +++ b/pages/API/import-object/import-object.uvue @@ -38,7 +38,7 @@ const content = '熟悉uts语法' todo.add(title, content).then((res: UTSJSONObject) : void => { uni.showModal({ - title: '错误', + title: '提示', content: res['showMessage'] as string, showCancel: false }) @@ -55,7 +55,7 @@ }) todoObj.randomFail().then((res: UTSJSONObject) : void => { uni.showModal({ - title: '错误', + title: '提示', content: res['showMessage'] as string, showCancel: false }) @@ -68,7 +68,7 @@ const todo = uniCloud.importObject('todo') todo.fail().then((res: UTSJSONObject) : void => { uni.showModal({ - title: '错误', + title: '提示', content: 'todo.fail应调用失败,此处错误的触发了成功回调', showCancel: false }) @@ -82,7 +82,7 @@ const todo = uniCloud.importObject('todo') todo.success().then((res: UTSJSONObject) : void => { uni.showModal({ - title: '错误', + title: '提示', content: res['showMessage'] as string, showCancel: false }) -- GitLab