pages/login/login.vue
@@ -83,6 +83,7 @@ that.load.btnText = '登录中'; uni.setStorageSync('token', res.data.token); uni.setStorageSync('userName', that.user.userName); uni.setStorageSync('baseUrl','http://localhost:9528') setTimeout(()=> { uni.showToast({title: '登录成功'}) setTimeout(()=> {