h5/pages/login/login.vue
@@ -139,7 +139,9 @@ that.$store.commit('setDriverInfo', ress.data) }) } this.driverLogin(flag) setTimeout(() => { that.driverLogin(flag) }, 200) } else if (source == 2) { if (res.data.token) { that.$store.commit('setToken', res.data.token) @@ -147,7 +149,9 @@ that.$store.commit('setUserInfo', ress.data) }) } this.staffLogin(flag) setTimeout(() => { that.staffLogin(flag) }, 200) } else { this.jump('/pages/index/index') }