调整为app版本
This commit is contained in:
@@ -68,11 +68,10 @@
|
||||
parent_id : this.parentId
|
||||
}).then(res => {
|
||||
this.$store.commit('setToken', res.token_type + ' ' + res.access_token)
|
||||
|
||||
if(this.$Route.toName){
|
||||
this.$Router.back()
|
||||
}else{
|
||||
this.$Router.replace({name: 'Index'})
|
||||
this.$Router.replaceAll({name: 'Index'})
|
||||
}
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
|
||||
@@ -282,7 +282,7 @@
|
||||
},
|
||||
loginOut() {
|
||||
this.$store.commit('setToken', '')
|
||||
this.$Router.push({name: 'Index'})
|
||||
this.$Router.replaceAll({name: 'Index'})
|
||||
},
|
||||
// 上传头像
|
||||
updImgs(type) {
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
<image class="customerClose" src="/static/user/user-customer-close.png" mode="aspectFill" @click="custEject"></image>
|
||||
</view>
|
||||
<!-- 专属客服弹出 end -->
|
||||
|
||||
<!-- 消息列表弹出 start -->
|
||||
<view class="newBack" v-if="newState"></view>
|
||||
<view class="newCont" v-if="newState">
|
||||
@@ -644,6 +643,7 @@ export default {
|
||||
height: 334px;
|
||||
// user工具
|
||||
.user-tool {
|
||||
padding-top: 200rpx;
|
||||
text-align: right;
|
||||
line-height: 40px;
|
||||
.user-tool-name {
|
||||
|
||||
Reference in New Issue
Block a user