Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
najiu-admin-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
najiu-frontend
najiu-admin-template
Commits
0434030f
Commit
0434030f
authored
Dec 11, 2020
by
vben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(login): fix the problem of successful login and notify disappearing
parent
0daca283
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
CHANGELOG.zh_CN.md
CHANGELOG.zh_CN.md
+7
-0
user.ts
src/store/modules/user.ts
+1
-1
Login.vue
src/views/sys/login/Login.vue
+1
-0
No files found.
CHANGELOG.zh_CN.md
View file @
0434030f
...
...
@@ -7,6 +7,13 @@
### 🎫 Chores
-
返回顶部样式调整,避免遮住其他元素
-
升级
`ant-design-vue`
到
`2.0.0-rc.4`
### 🐛 Bug Fixes
-
修复多级路由缓存导致组件渲染多次的问题
-
修复地图图表切换后消失问题
-
修复登录成功 notify 消失问题
## 2.0.0-rc.13 (2020-12-10)
...
...
src/store/modules/user.ts
View file @
0434030f
...
...
@@ -114,7 +114,7 @@ class User extends VuexModule {
// const name = FULL_PAGE_NOT_FOUND_ROUTE.name;
// name && router.removeRoute(name);
goHome
&&
router
.
replace
(
PageEnum
.
BASE_HOME
);
goHome
&&
(
await
router
.
replace
(
PageEnum
.
BASE_HOME
)
);
return
userInfo
;
}
catch
(
error
)
{
return
null
;
...
...
src/views/sys/login/Login.vue
View file @
0434030f
...
...
@@ -99,6 +99,7 @@
password
:
'
123456
'
,
// verify: undefined,
});
const
formState
=
reactive
({
loading
:
false
,
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment