mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 09:56:43 +08:00
刷新方法测试
This commit is contained in:
@@ -17,6 +17,7 @@ export default {
|
||||
}
|
||||
},
|
||||
refreshCallBack(data) {
|
||||
console.log(data, 'data')
|
||||
if (data.trigger == 'right_button_click') {
|
||||
location.reload()
|
||||
}
|
||||
|
||||
@@ -215,7 +215,7 @@ export default {
|
||||
if (process.env.NODE_ENV != 'development') {
|
||||
|
||||
refresh.refreshImg()
|
||||
window.appCallBack=refresh.refreshCallBack()
|
||||
window.appCallBack=refresh.refreshCallBack(data)
|
||||
// setTimeout(() => {
|
||||
// // eslint-disable-next-line no-undef
|
||||
// EWebBridge.webCallAppInJs('webview_right_button', {
|
||||
|
||||
Reference in New Issue
Block a user