版本更新

This commit is contained in:
唐明明
2022-06-11 13:53:54 +08:00
parent bfed17d7d6
commit 45288f7470
12 changed files with 9541 additions and 16526 deletions

View File

@@ -89,12 +89,13 @@
code : this.code,
parent_id : this.parentId
}).then((res) => {
this.$store.commit('setToken', res.token_type + ' ' + res.access_token);
this.$store.commit('setToken', res.token_type + ' ' + res.access_token);
if(res.is_new){
uni.setStorageSync('isnew', res.is_new ? 0 : 1)
uni.setStorageSync('isnew', 0)
this.$Router.replace({name: 'AuthRole'})
return
}
uni.setStorageSync('isnew', 1)
this.$Router.pushTab({name: 'Life'})
uni.hideLoading()
}).catch((err) => {