mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 15:46:43 +08:00
[FIX]电投优化-列表页返回首页-调试
This commit is contained in:
@@ -176,22 +176,22 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
// setTimeout(() => {
|
||||
// EWebBridge.webCallAppInJs('webview_left_button', {
|
||||
// intercept: '1' //是否拦截原生返回事件 1是 其他否
|
||||
// })
|
||||
// }, 100)
|
||||
// window.appCallBack = this.appCallBack
|
||||
setTimeout(() => {
|
||||
EWebBridge.webCallAppInJs('webview_left_button', {
|
||||
intercept: '1' //是否拦截原生返回事件 1是 其他否
|
||||
})
|
||||
}, 100)
|
||||
window.appCallBack = this.appCallBack
|
||||
this.loadMore()
|
||||
},
|
||||
methods: {
|
||||
// appCallBack(data) {
|
||||
// if (data.trigger == 'left_button_click') {
|
||||
// this.$jump({
|
||||
// flag: 'home'
|
||||
// })
|
||||
// }
|
||||
// },
|
||||
appCallBack(data) {
|
||||
if (data.trigger == 'left_button_click') {
|
||||
this.$jump({
|
||||
flag: 'home'
|
||||
})
|
||||
}
|
||||
},
|
||||
//分页用
|
||||
loadMore() {
|
||||
let pageInfo = {
|
||||
|
||||
Reference in New Issue
Block a user