Merge branch 'dev' of http://git.sinoecare.com/sinoecare/digital_village_v2/dvcp_v2_wechat_app into dev
This commit is contained in:
@@ -158,13 +158,20 @@ export default {
|
|||||||
this.$u.toast('提交成功')
|
this.$u.toast('提交成功')
|
||||||
this.autoLogin({ loginWay:'qujing'})
|
this.autoLogin({ loginWay:'qujing'})
|
||||||
uni.$emit('auth')
|
uni.$emit('auth')
|
||||||
setTimeout(() => {
|
|
||||||
if (this.isFromTabbar == 1) {
|
if (this.isFromTabbar == 1) {
|
||||||
uni.switchTab({ url: this.path})
|
console.log('111')
|
||||||
} else {
|
setTimeout(() => {
|
||||||
uni.navigateBack()
|
console.log('222')
|
||||||
}
|
uni.switchTab({
|
||||||
|
url: this.path
|
||||||
|
})
|
||||||
}, 600);
|
}, 600);
|
||||||
|
} else {
|
||||||
|
setTimeout(() => {
|
||||||
|
uni.navigateBack()
|
||||||
|
}, 600);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}).catch(err=> {
|
}).catch(err=> {
|
||||||
this.$u.toast(err.msg)
|
this.$u.toast(err.msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user