小程序webview刷新数据

 refreshWebview: function () {
    let tmpUrl = this.data.url;
    setTimeout(() => {
      this.setData({
        url: this.data.url
      })
    }, 100);
  },

猜你喜欢

转载自blog.csdn.net/Neil_1993/article/details/84633580