授权成功默认跳转首页

h5
wangdong 4 months ago
parent 7bae32ab1f
commit 34057a8a9a
  1. 5
      pages/login/auth.vue

@ -162,7 +162,10 @@ export default {
},
back() {
if (this.formData.avatar_id && this.formData.nickname && this.formData.nickname.indexOf('微信用户') === -1) {
uni.navigateBack();
// uni.navigateBack();
uni.reLaunch({
url: '/pages/index/index'
})
} else {
uni.showModal({
title: '提示',

Loading…
Cancel
Save