mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-21 03:06:43 +08:00
修改微信签名后取值字段名称
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user