修改h5分享

youmengting-dev
游梦婷 1 year ago
parent e4a59746b6
commit f87df3c3de
  1. 2
      pages/welcome/welcome.vue

@ -103,6 +103,8 @@
if(app.globalData.accountType == '0000016&key' && app.globalData.h5code){ if(app.globalData.accountType == '0000016&key' && app.globalData.h5code){
const value = uni.getStorageSync('goUrl'); const value = uni.getStorageSync('goUrl');
/* /physical-merchants/classify/goodsDetail/goodsDetail?goodsId=35#/ */
value = value.slice(0,value.length-2);
if(value == "/pages/tabBar/home/home" || value == "/pages/tabBar/category/category" || value == "/pages/tabBar/user/user"){ if(value == "/pages/tabBar/home/home" || value == "/pages/tabBar/category/category" || value == "/pages/tabBar/user/user"){
uni.switchTab({ uni.switchTab({

Loading…
Cancel
Save