Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ant-design-pro-vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
tianzhuanghu
ant-design-pro-vue
Commits
c6d28921
Commit
c6d28921
authored
Dec 12, 2018
by
Sendya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: #26 toastr
parent
e8725a0a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
README.md
README.md
+1
-1
Login.vue
src/views/user/Login.vue
+4
-1
No files found.
README.md
View file @
c6d28921
...
@@ -114,7 +114,7 @@ yarn run lint
...
@@ -114,7 +114,7 @@ yarn run lint
-
[
Table 重封装组件
](
https://github.com/sendya/ant-design-pro-vue/blob/master/src/components/table/README.md
)
-
[
Table 重封装组件
](
https://github.com/sendya/ant-design-pro-vue/blob/master/src/components/table/README.md
)
-
[
ANTD 默认配置项
](
https://github.com/sendya/ant-design-pro-vue/blob/master/src/default
Config
.js
)
-
[
ANTD 默认配置项
](
https://github.com/sendya/ant-design-pro-vue/blob/master/src/default
Settings
.js
)
-
其他待补充...
-
其他待补充...
...
...
src/views/user/Login.vue
View file @
c6d28921
...
@@ -244,7 +244,10 @@
...
@@ -244,7 +244,10 @@
loginSuccess
()
{
loginSuccess
()
{
this
.
loginBtn
=
false
this
.
loginBtn
=
false
this
.
$router
.
push
({
name
:
"dashboard"
})
this
.
$router
.
push
({
name
:
"dashboard"
})
this
.
$message
.
success
(
timeFix
()
+
',欢迎回来'
,
3
)
this
.
$notification
.
success
({
message
:
'欢迎'
,
description
:
`
${
timeFix
()}
,欢迎回来`
,
});
},
},
requestFailed
(
err
)
{
requestFailed
(
err
)
{
this
.
$notification
[
'error'
]({
this
.
$notification
[
'error'
]({
...
...
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