pages/LoginDemo/LoginDemo.vue
@@ -150,6 +150,7 @@ this.load.btnText = '登录中'; uni.setStorageSync('user', this.user); let res = await common.onLogin(this.user) console.log(res); if (res.code === 200) { setTimeout(() => { uni.showToast({ @@ -157,7 +158,7 @@ }) setTimeout(() => { uni.reLaunch({ url: `/pages/home/home`, url: `/pages/project/jmAGV/home`, }); }, 300) if (!this.remberPassword) {