let currentWebview = plus.webview.currentWebview();
      let backWebview = currentWebview.opener();
      backWebview.evalJS('updata()');
      setTimeout(function(){
        currentWebview.close();
      },1000);
 
updata()即上个页面需要更新的函数。
 
let _this = this;
window.updata= function () {
    _this.updata();//需要更新的内容写在函数里。
  }
 

相关文章:

  • 2021-10-06
  • 2022-12-23
  • 2021-12-16
  • 2022-12-23
  • 2021-11-13
  • 2021-08-19
  • 2022-12-23
猜你喜欢
  • 2021-09-04
  • 2021-12-08
  • 2022-12-23
  • 2022-02-09
  • 2022-12-23
  • 2021-04-10
  • 2021-12-15
相关资源
相似解决方案