packageBookService/pages/components/webView/index.js
@@ -24,7 +24,6 @@ */ onLoad(options) { console.log(options) if (options && options.link) { this.setData({ src: decodeURIComponent(options.link), @@ -43,17 +42,12 @@ } } const token = wx.getStorageSync(app.config.tokenKey) if (!token) { loginInfo(app, (data) => { if (data) { if (token) { this.getProgress(options) } else { this.getProgress(options) this.setWebViewSrc(options); } }) } else { this.getProgress(options) } }, onLoadWeb(e) {