|
|
@@ -18,7 +18,16 @@ |
|
|
|
uni.setNavigationBarTitle({ |
|
|
|
title: dataitem.FName |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
onReady() { |
|
|
|
// #ifdef APP-PLUS |
|
|
|
let currentWebview = this.$scope.$getAppWebview().children()[0] |
|
|
|
//监听注入的js |
|
|
|
currentWebview.addEventListener("loaded", function() { |
|
|
|
currentWebview.evalJS("mui.init({keyEventBind: {backbutton: false }});"); |
|
|
|
}); |
|
|
|
// #endif |
|
|
|
}, |
|
|
|
} |
|
|
|
</script> |
|
|
|
|
|
|
|