前端-胡立永 1 week ago
parent
commit
6c3b7ae971
2 changed files with 4 additions and 1 deletions
  1. +1
    -1
      mixins/configList.js
  2. +3
    -0
      pages_order/auth/wxLogin.vue

+ 1
- 1
mixins/configList.js View File

@ -7,7 +7,7 @@ export default {
// 默认的全局分享内容
Gshare: {
// title: '三只青蛙',
path: '/pages_order/auth/wxLogin', // 全局分享的路径,比如 首页
path: '/pages_order/auth/wxLogin?isTokenPath=true', // 全局分享的路径,比如 首页
// imageUrl: '/static/image/login/logo.png', // 全局分享的图片(可本地可网络)
}
}


+ 3
- 0
pages_order/auth/wxLogin.vue View File

@ -62,6 +62,9 @@
if (query.shareId) {
uni.setStorageSync('shareId', query.shareId)
}
if(query.isTokenPath && uni.getStorageSync('token')){
this.qux()
}
},
methods: {
qux(){


Loading…
Cancel
Save