src/pages/index/App.vue
@@ -139,7 +139,6 @@ background: 'rgba(0, 0, 0, 0.7)' }) this.testLogin() // return false } else { this.nullRule = {} } @@ -170,9 +169,7 @@ }) }, async getLoginUserData() { debugger let res = await getLoginUserData() debugger if (res.success) { sessionStorage.setItem('userInfo', JSON.stringify(res.data)) this.$notify.success("登录成功!")