mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 11:36:45 +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,14 +208,20 @@ export default {
|
||||
}
|
||||
})
|
||||
.catch(err => {})
|
||||
},
|
||||
refreshCallBack(data) {
|
||||
console.log(data, 'data')
|
||||
if (data.trigger == 'right_button_click') {
|
||||
location.reload()
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
refresh.refreshImg()
|
||||
if (process.env.NODE_ENV != 'development') {
|
||||
|
||||
refresh.refreshImg()
|
||||
window.appCallBack=refresh.refreshCallBack(data)
|
||||
window.appCallBack=this.refreshCallBack
|
||||
// setTimeout(() => {
|
||||
// // eslint-disable-next-line no-undef
|
||||
// EWebBridge.webCallAppInJs('webview_right_button', {
|
||||
|
||||
Reference in New Issue
Block a user