Commit 0434030f authored by vben's avatar vben

fix(login): fix the problem of successful login and notify disappearing

parent 0daca283
...@@ -7,6 +7,13 @@ ...@@ -7,6 +7,13 @@
### 🎫 Chores ### 🎫 Chores
- 返回顶部样式调整,避免遮住其他元素 - 返回顶部样式调整,避免遮住其他元素
- 升级`ant-design-vue``2.0.0-rc.4`
### 🐛 Bug Fixes
- 修复多级路由缓存导致组件渲染多次的问题
- 修复地图图表切换后消失问题
- 修复登录成功 notify 消失问题
## 2.0.0-rc.13 (2020-12-10) ## 2.0.0-rc.13 (2020-12-10)
......
...@@ -114,7 +114,7 @@ class User extends VuexModule { ...@@ -114,7 +114,7 @@ class User extends VuexModule {
// const name = FULL_PAGE_NOT_FOUND_ROUTE.name; // const name = FULL_PAGE_NOT_FOUND_ROUTE.name;
// name && router.removeRoute(name); // name && router.removeRoute(name);
goHome && router.replace(PageEnum.BASE_HOME); goHome && (await router.replace(PageEnum.BASE_HOME));
return userInfo; return userInfo;
} catch (error) { } catch (error) {
return null; return null;
......
...@@ -99,6 +99,7 @@ ...@@ -99,6 +99,7 @@
password: '123456', password: '123456',
// verify: undefined, // verify: undefined,
}); });
const formState = reactive({ const formState = reactive({
loading: false, loading: false,
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment