diff --git a/src/views/ebiz/questions/QuestionsDetail.vue b/src/views/ebiz/questions/QuestionsDetail.vue index 6659cfa95..bfaab8439 100644 --- a/src/views/ebiz/questions/QuestionsDetail.vue +++ b/src/views/ebiz/questions/QuestionsDetail.vue @@ -192,10 +192,8 @@ export default { } }, methods: { - async policyHolderUpload(file, detail) { - console.log(file, detail) + async policyHolderUpload(file) { let res = await this.afterRead(file) - console.log(res) this.supplement.policyholderUploadResult.push({ rgssUrl: res.path }) @@ -477,13 +475,13 @@ export default { this.issueType = this.$route.params.type if (this.isWeixin) { localStorage.setItem('token', this.$route.query.token) - let imgBase64Data = sessionStorage.getItem('oneimgBase64Data') - let wxSigned = sessionStorage.getItem('onewxSigned') + let imgBase64Data = sessionStorage.getItem('twoimgBase64Data') + let wxSigned = sessionStorage.getItem('twowxSigned') let signInfo = JSON.parse(localStorage.getItem('signInfo')) - console.log('imgBase64', imgBase64Data) - console.log('wxSigned', wxSigned) - console.log('signInfo', signInfo) + console.log('imgBase64 ::: ', imgBase64Data) + console.log('wxSigned ::: ', wxSigned) + console.dir('signInfo ::: ', signInfo) if (wxSigned) { console.log('微信签名回调') @@ -505,18 +503,19 @@ export default { } this.getBankList() this.getQuestionDetail() - console.log(this.$route.params) }, mounted() { setTimeout(() => { - // 右上角的显示 - window.EWebBridge.webCallAppInJs('webview_right_button', { - btns: [ - { - img: this.$assetsUrl + 'images/share@3x.png' - } - ] - }) + // 拦截原生右上角按钮 + if (!this.isWeixin) { + window.EWebBridge.webCallAppInJs('webview_right_button', { + btns: [ + { + img: this.$assetsUrl + 'images/share@3x.png' + } + ] + }) + } }, 1000) window['appCallBack'] = this.appCallBack }