diff --git a/pages/API/import-object/import-object.uvue b/pages/API/import-object/import-object.uvue index ec1edf743038902c31c66dece09261e8c4382d88..0b1d307a5f863a2dc807af6457a646745cc82289 100644 --- a/pages/API/import-object/import-object.uvue +++ b/pages/API/import-object/import-object.uvue @@ -44,11 +44,7 @@ }) }).catch((err : any | null) : void => { const error = err as UniCloudError - uni.showModal({ - title: '错误', - content: error.errMsg, - showCancel: false - }) + console.error(error) }) }, randomFail() { @@ -65,11 +61,7 @@ }) }).catch((err : any | null) : void => { const error = err as UniCloudError - uni.showModal({ - title: '错误', - content: error.errMsg, - showCancel: false - }) + console.error(error) }) }, fail() { @@ -83,11 +75,7 @@ console.log('todo.fail: ', res); }).catch((err : any | null) : void => { const error = err as UniCloudError - uni.showModal({ - title: '错误', - content: error.errMsg, - showCancel: false - }) + console.error(error) }) }, success() { @@ -100,11 +88,7 @@ }) }).catch((err : any | null) : void => { const error = err as UniCloudError - uni.showModal({ - title: '错误', - content: error.errMsg, - showCancel: false - }) + console.error(error) }) } }