登录修改,增加登录协议等,修复拼团客服等
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<view class="user">
|
||||
<view v-if="$store.getters.token || userInfo.uid">
|
||||
<view>
|
||||
<view
|
||||
class="getUserBaseData header bg-color-red acea-row row-between-wrapper"
|
||||
v-if="!userInfo.avatar && !userInfo.nickname"
|
||||
v-if="!userInfo.uid"
|
||||
>
|
||||
<button
|
||||
class="userDataBtn"
|
||||
@ -206,10 +206,10 @@
|
||||
:login_type="userInfo.login_type"
|
||||
></SwitchWindow>-->
|
||||
</view>
|
||||
<Authorization
|
||||
<!-- <Authorization
|
||||
v-else
|
||||
ref="authorization"
|
||||
/>
|
||||
/> -->
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
@ -243,7 +243,7 @@ export default {
|
||||
this.canIUseGetUserProfile = true
|
||||
}
|
||||
if (!this.$store.getters.token && !this.userInfo.uid) {
|
||||
this.$refs.authorization.getLoginCode()
|
||||
// this.$refs.authorization.getLoginCode()
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@ -482,7 +482,8 @@ export default {
|
||||
},
|
||||
},
|
||||
onShow() {
|
||||
if (this.$store.getters.token) {
|
||||
if (this.$store.getters.token) {
|
||||
console.log('userInfo11:',this.$store.getters.token)
|
||||
//
|
||||
uni.showLoading({
|
||||
title: '加载中',
|
||||
|
Reference in New Issue
Block a user