beforeback: function() {
//webview
alert(1)
mui.plusReady(function(){
var i = plus.webview.getWebviewById("txffc");
console.log(i);
});
return false;
// if(i) {
// //refresh,
// mui.fire(i, "refresh");
// }
}
the requirement is that you open a page, and then the data will go wrong after the open page is returned, and the refresh of the page data will be successful. So I want to call a function to refresh the parent page when I return. I checked the writing method on the Internet, but I had a problem with it and asked the god for help to solve the problem.
if you don"t use plusReady, it will prompt you that plus is not defined, and the program in it seems to be stuck after using it, so I"m confused. The methods in
plusReady are never executed.
my side is the browser side.