【学平险业务字段需求】测试 去掉 removeItem

This commit is contained in:
dwq
2021-08-12 22:37:41 +08:00
parent c926529e83
commit 0a0c9c9d7e
2 changed files with 1 additions and 5 deletions

View File

@@ -166,7 +166,7 @@ function appCallBack() {}
} }
// iOS使用 // 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 // WebViewJavascriptBridge v5
if (window.WebViewJavascriptBridge) { return callback(WebViewJavascriptBridge); } if (window.WebViewJavascriptBridge) { return callback(WebViewJavascriptBridge); }

View File

@@ -151,8 +151,6 @@ export default {
} }
if (this.posterType == 'product') { if (this.posterType == 'product') {
shareUrlWithQR(params).then(res => { shareUrlWithQR(params).then(res => {
window.localStorage.removeItem('schoolName')
window.localStorage.removeItem('className')
this.$toast.clear() this.$toast.clear()
if (res.result == 0) { if (res.result == 0) {
this.imgUrl = config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${res.content.path}` this.imgUrl = config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${res.content.path}`
@@ -166,8 +164,6 @@ export default {
}) })
} else { } else {
shareUrl(params).then(res => { shareUrl(params).then(res => {
window.localStorage.removeItem('schoolName')
window.localStorage.removeItem('className')
this.$toast.clear() this.$toast.clear()
if (res.result == 0) { if (res.result == 0) {
this.imgUrl = config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${res.content.path}` this.imgUrl = config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${res.content.path}`