调整为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({