【学平险业务字段需求】测试remove localS

This commit is contained in:
dwq
2021-08-12 22:17:20 +08:00
parent 0751a0fca7
commit f208275d44

View File

@@ -151,6 +151,8 @@ 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}`
@@ -164,6 +166,8 @@ 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}`
@@ -176,8 +180,7 @@ export default {
}
})
}
window.localStorage.removeItem('schoolName')
window.localStorage.removeItem('className')
})
},
// 获取base64