From 0a0c9c9d7eb36ea169f4a69f58e4fc51e82732aa Mon Sep 17 00:00:00 2001 From: dwq <15731277156@163.com> Date: Thu, 12 Aug 2021 22:37:41 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=AD=A6=E5=B9=B3=E9=99=A9=E4=B8=9A?= =?UTF-8?q?=E5=8A=A1=E5=AD=97=E6=AE=B5=E9=9C=80=E6=B1=82=E3=80=91=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=20=E5=8E=BB=E6=8E=89=20removeItem?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/EWebBridge.js | 2 +- src/views/ebiz/poster/PosterPreview.vue | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/public/js/EWebBridge.js b/public/js/EWebBridge.js index 7e157663f..c55d3825e 100644 --- a/public/js/EWebBridge.js +++ b/public/js/EWebBridge.js @@ -166,7 +166,7 @@ function appCallBack() {} } // iOS使用 - if (navigator.userAgent.indexOf('iPhone') != -1||navigator.userAgent.indexOf('android') != -1||navigator.userAgent.indexOf('Android') != -1) { + if (navigator.userAgent.indexOf('iPhone') != -1) { /* // WebViewJavascriptBridge v5 if (window.WebViewJavascriptBridge) { return callback(WebViewJavascriptBridge); } diff --git a/src/views/ebiz/poster/PosterPreview.vue b/src/views/ebiz/poster/PosterPreview.vue index bdc336eb8..52abf5e06 100644 --- a/src/views/ebiz/poster/PosterPreview.vue +++ b/src/views/ebiz/poster/PosterPreview.vue @@ -151,8 +151,6 @@ export default { } if (this.posterType == 'product') { shareUrlWithQR(params).then(res => { - window.localStorage.removeItem('schoolName') - window.localStorage.removeItem('className') this.$toast.clear() if (res.result == 0) { this.imgUrl = config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${res.content.path}` @@ -166,8 +164,6 @@ export default { }) } else { shareUrl(params).then(res => { - window.localStorage.removeItem('schoolName') - window.localStorage.removeItem('className') this.$toast.clear() if (res.result == 0) { this.imgUrl = config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${res.content.path}`