mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 06:16:44 +08:00
刷新方法测试
This commit is contained in:
@@ -17,6 +17,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
refreshCallBack(data) {
|
refreshCallBack(data) {
|
||||||
|
console.log(data, 'data')
|
||||||
if (data.trigger == 'right_button_click') {
|
if (data.trigger == 'right_button_click') {
|
||||||
location.reload()
|
location.reload()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -215,7 +215,7 @@ export default {
|
|||||||
if (process.env.NODE_ENV != 'development') {
|
if (process.env.NODE_ENV != 'development') {
|
||||||
|
|
||||||
refresh.refreshImg()
|
refresh.refreshImg()
|
||||||
window.appCallBack=refresh.refreshCallBack()
|
window.appCallBack=refresh.refreshCallBack(data)
|
||||||
// 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