From 5f5179811a778b6bd996ed64cae2a96f5ccc437f Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期四, 13 七月 2023 17:02:20 +0800
Subject: [PATCH] no message

---
 uniapp/utils/getClipboard.js |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/uniapp/utils/getClipboard.js b/uniapp/utils/getClipboard.js
index db4aa89..8af8f3f 100644
--- a/uniapp/utils/getClipboard.js
+++ b/uniapp/utils/getClipboard.js
@@ -17,6 +17,7 @@
             var res = e.data;
             callback(res)
           }).catch(function (err) {
+			  console.log(err)
           })
         }else{
           getApp().globalData.hasMode = false
@@ -48,7 +49,7 @@
     const viewContentWidth = parseInt(popupViewWidth - viewContentPadding * 2);
     // 鏄剧ず寮圭獥
     maskLayers.show();
-
+    try{
     if (data.goodsId) {
       let sLeft = 0;
       let popupViewHeight = popupViewWidth + uni.upx2px(390);
@@ -742,6 +743,12 @@
         getApp().globalData.hasMode = false
       }
     });
+	}
+	catch(e)
+	{
+		console.log(e);
+		maskLayers.hide();
+	}
   }
 
   export default () => {

--
Gitblit v1.9.3