From c5f1a3589bd8924c11dbe01aabe1e760a14df3e4 Mon Sep 17 00:00:00 2001 From: zhao_js <349234519@qq.com> Date: 星期一, 21 十月 2024 19:34:29 +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