登录修改,增加登录协议等,修复拼团客服等
This commit is contained in:
@ -130,7 +130,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<Authorization v-else />
|
||||
<Authorization v-else ref="authorization" />
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
@ -197,7 +197,15 @@
|
||||
// cartList(list) {
|
||||
// this.validList = list.valid;
|
||||
// }
|
||||
// },
|
||||
// },
|
||||
onLoad() {
|
||||
// if (wx.getUserProfile) {
|
||||
// this.canIUseGetUserProfile = true
|
||||
// }
|
||||
if (!this.$store.getters.token && !this.userInfo.uid) {
|
||||
this.$refs.authorization.getLoginCode()
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
userInfo(user) {
|
||||
if (user.uid) {
|
||||
|
Reference in New Issue
Block a user