diff --git a/pages/API/unicloud-import-object/unicloud-import-object.uvue b/pages/API/unicloud-import-object/unicloud-import-object.uvue index 02ebdb13ff2804446f96d8ff940972056cbd746a..1f099d196eb48594381ffe9fd48d30e1189443c2 100644 --- a/pages/API/unicloud-import-object/unicloud-import-object.uvue +++ b/pages/API/unicloud-import-object/unicloud-import-object.uvue @@ -86,7 +86,7 @@ console.error(error) }) }, - async fail() { + async fail() : Promise { const todo = uniCloud.importObject('todo', { customUI: this.isUniTest }) @@ -104,7 +104,7 @@ } }) }, - success() { + async success() : Promise { const todo = uniCloud.importObject('todo', { customUI: this.isUniTest })