调整为app版本

This commit is contained in:
唐明明
2021-10-09 17:51:21 +08:00
parent 91a1ad3748
commit 452a397a77
7 changed files with 15 additions and 64 deletions

View File

@@ -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({

View File

@@ -282,7 +282,7 @@
},
loginOut() {
this.$store.commit('setToken', '')
this.$Router.push({name: 'Index'})
this.$Router.replaceAll({name: 'Index'})
},
// 上传头像
updImgs(type) {

View File

@@ -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 {