修改网页授权后通过指定链接跳转时,页面缓存问题.

huipay-h5
游梦婷 1 year ago
parent 33dcaf6e9e
commit f552c2cb3d
  1. 4
      pages/welcome/welcome.vue

@ -39,6 +39,10 @@
this.getAccessToken();//openID this.getAccessToken();//openID
} else { } else {
uni.setStorageSync("accountId","");
uni.setStorageSync("urlKey","");
uni.setStorageSync("urlCode","");
if(locationPathArr[1]){ if(locationPathArr[1]){
let accountId = locationPathArr[1].split("&")[0]; let accountId = locationPathArr[1].split("&")[0];
app.globalData.accountId=accountId; app.globalData.accountId=accountId;

Loading…
Cancel
Save