mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-20 20:06:44 +08:00
修改微信签名后取值字段名称
This commit is contained in:
@@ -192,10 +192,8 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async policyHolderUpload(file, detail) {
|
async policyHolderUpload(file) {
|
||||||
console.log(file, detail)
|
|
||||||
let res = await this.afterRead(file)
|
let res = await this.afterRead(file)
|
||||||
console.log(res)
|
|
||||||
this.supplement.policyholderUploadResult.push({
|
this.supplement.policyholderUploadResult.push({
|
||||||
rgssUrl: res.path
|
rgssUrl: res.path
|
||||||
})
|
})
|
||||||
@@ -477,13 +475,13 @@ export default {
|
|||||||
this.issueType = this.$route.params.type
|
this.issueType = this.$route.params.type
|
||||||
if (this.isWeixin) {
|
if (this.isWeixin) {
|
||||||
localStorage.setItem('token', this.$route.query.token)
|
localStorage.setItem('token', this.$route.query.token)
|
||||||
let imgBase64Data = sessionStorage.getItem('oneimgBase64Data')
|
let imgBase64Data = sessionStorage.getItem('twoimgBase64Data')
|
||||||
let wxSigned = sessionStorage.getItem('onewxSigned')
|
let wxSigned = sessionStorage.getItem('twowxSigned')
|
||||||
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
|
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
|
||||||
|
|
||||||
console.log('imgBase64', imgBase64Data)
|
console.log('imgBase64 ::: ', imgBase64Data)
|
||||||
console.log('wxSigned', wxSigned)
|
console.log('wxSigned ::: ', wxSigned)
|
||||||
console.log('signInfo', signInfo)
|
console.dir('signInfo ::: ', signInfo)
|
||||||
|
|
||||||
if (wxSigned) {
|
if (wxSigned) {
|
||||||
console.log('微信签名回调')
|
console.log('微信签名回调')
|
||||||
@@ -505,18 +503,19 @@ export default {
|
|||||||
}
|
}
|
||||||
this.getBankList()
|
this.getBankList()
|
||||||
this.getQuestionDetail()
|
this.getQuestionDetail()
|
||||||
console.log(this.$route.params)
|
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// 右上角的显示
|
// 拦截原生右上角按钮
|
||||||
window.EWebBridge.webCallAppInJs('webview_right_button', {
|
if (!this.isWeixin) {
|
||||||
btns: [
|
window.EWebBridge.webCallAppInJs('webview_right_button', {
|
||||||
{
|
btns: [
|
||||||
img: this.$assetsUrl + 'images/share@3x.png'
|
{
|
||||||
}
|
img: this.$assetsUrl + 'images/share@3x.png'
|
||||||
]
|
}
|
||||||
})
|
]
|
||||||
|
})
|
||||||
|
}
|
||||||
}, 1000)
|
}, 1000)
|
||||||
window['appCallBack'] = this.appCallBack
|
window['appCallBack'] = this.appCallBack
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user