diff --git a/pages/API/call-function/call-function.uvue b/pages/API/call-function/call-function.uvue index 9c5452407c97abc9d7260a793e4434e9488b59bb..3756652e7ffd3ab18b2c2421d9bc1fb765b7c9a4 100644 --- a/pages/API/call-function/call-function.uvue +++ b/pages/API/call-function/call-function.uvue @@ -45,7 +45,7 @@ content: result['showMessage'] as string, showCancel: false }) - }).catch((err: any) => { + }).catch((err: any | null) => { const error = err as UniCloudError uni.hideLoading() uni.showModal({