diff --git a/pages/API/unicloud-call-function/unicloud-call-function.uvue b/pages/API/unicloud-call-function/unicloud-call-function.uvue index 1983783e21b247743f8a3c03370a3ce8f3c0e3a4..ff984f326fa2ff02e64ed02962dbc2ba2c040fac 100644 --- a/pages/API/unicloud-call-function/unicloud-call-function.uvue +++ b/pages/API/unicloud-call-function/unicloud-call-function.uvue @@ -41,9 +41,6 @@ showCancel: false }) } else { - uni.showToast({ - title: content - }) console.log(title, content) } }, diff --git a/pages/API/unicloud-database/unicloud-database.uvue b/pages/API/unicloud-database/unicloud-database.uvue index 6316fedf81977b5aa10a8b7a201fbb90c6353164..aeb650c1553e4a9dc95de3202d4ca9f811cfecfc 100644 --- a/pages/API/unicloud-database/unicloud-database.uvue +++ b/pages/API/unicloud-database/unicloud-database.uvue @@ -38,13 +38,6 @@ isUniTest: false } }, - onLoad() { - }, - onUnload() { - if (this.isUniTest) { - uni.hideToast() - } - }, computed: { dataTag() : string { return this.isUniTest ? 'default-tag' + Date.now() : 'default-tag' @@ -59,9 +52,6 @@ showCancel: false }) } else { - uni.showToast({ - title: content - }) console.log(title, content) } }, diff --git a/pages/API/unicloud-import-object/unicloud-import-object.uvue b/pages/API/unicloud-import-object/unicloud-import-object.uvue index fca0d3db5f9d12cf9db8e292a86c9516209f6536..e02c383a19ecf1c5a95ca2d50a35cc5243c06c49 100644 --- a/pages/API/unicloud-import-object/unicloud-import-object.uvue +++ b/pages/API/unicloud-import-object/unicloud-import-object.uvue @@ -42,11 +42,6 @@ isUniTest: false } }, - onUnload() { - if (this.isUniTest) { - uni.hideToast() - } - }, methods: { notify(content : string, title : string) { if (!this.isUniTest) { @@ -56,9 +51,6 @@ showCancel: false }) } else { - uni.showToast({ - title: content - }) console.log(title, content) } }, @@ -101,11 +93,6 @@ const error = err as UniCloudError this.failErrCode = error.errCode as string console.error(error) - if (this.isUniTest) { - uni.showToast({ - title: error.errMsg - }) - } }) }, async failWithNumberErrCode() : Promise { @@ -119,11 +106,6 @@ const error = err as UniCloudError this.failNumberErrCode = error.errCode as number console.error(error) - if (this.isUniTest) { - uni.showToast({ - title: error.errMsg - }) - } }) }, async success() : Promise {