修改微信签名后取值字段名称

This commit is contained in:
mengxiaolong
2020-08-05 14:24:18 +08:00
parent 14136958ce
commit 2944cee9fe

View File

@@ -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,11 +503,11 @@ export default {
}
this.getBankList()
this.getQuestionDetail()
console.log(this.$route.params)
},
mounted() {
setTimeout(() => {
// 右上角的显示
// 拦截原生右上角按钮
if (!this.isWeixin) {
window.EWebBridge.webCallAppInJs('webview_right_button', {
btns: [
{
@@ -517,6 +515,7 @@ export default {
}
]
})
}
}, 1000)
window['appCallBack'] = this.appCallBack
}