From 7fdc900245a9aa5d782a022798d1566aae82b1b4 Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Fri, 8 Sep 2023 11:34:52 +0800 Subject: [PATCH] fix: UTSPromise type error --- pages/API/call-function/call-function.uvue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/API/call-function/call-function.uvue b/pages/API/call-function/call-function.uvue index 9c545240..3756652e 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({ -- GitLab