mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 07:26:44 +08:00
刷新方法修改
This commit is contained in:
@@ -15,11 +15,5 @@ export default {
|
|||||||
]
|
]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
|
||||||
refreshCallBack(data) {
|
|
||||||
console.log(data, 'data')
|
|
||||||
if (data.trigger == 'right_button_click') {
|
|
||||||
location.reload()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -208,6 +208,12 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(err => {})
|
.catch(err => {})
|
||||||
|
},
|
||||||
|
refreshCallBack(data) {
|
||||||
|
console.log(data, 'data')
|
||||||
|
if (data.trigger == 'right_button_click') {
|
||||||
|
location.reload()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -215,7 +221,7 @@ export default {
|
|||||||
if (process.env.NODE_ENV != 'development') {
|
if (process.env.NODE_ENV != 'development') {
|
||||||
|
|
||||||
refresh.refreshImg()
|
refresh.refreshImg()
|
||||||
window.appCallBack=refresh.refreshCallBack(data)
|
window.appCallBack=this.refreshCallBack
|
||||||
// setTimeout(() => {
|
// setTimeout(() => {
|
||||||
// // eslint-disable-next-line no-undef
|
// // eslint-disable-next-line no-undef
|
||||||
// EWebBridge.webCallAppInJs('webview_right_button', {
|
// EWebBridge.webCallAppInJs('webview_right_button', {
|
||||||
|
|||||||
Reference in New Issue
Block a user