Skip to content

Commit c6d2892

Browse files
committed
fix: #26 toastr
1 parent e8725a0 commit c6d2892

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ yarn run lint
114114

115115
- [Table 重封装组件](https://github.com/sendya/ant-design-pro-vue/blob/master/src/components/table/README.md)
116116

117-
- [ANTD 默认配置项](https://github.com/sendya/ant-design-pro-vue/blob/master/src/defaultConfig.js)
117+
- [ANTD 默认配置项](https://github.com/sendya/ant-design-pro-vue/blob/master/src/defaultSettings.js)
118118

119119
- 其他待补充...
120120

src/views/user/Login.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,10 @@
244244
loginSuccess () {
245245
this.loginBtn = false
246246
this.$router.push({ name: "dashboard" })
247-
this.$message.success(timeFix() + ',欢迎回来', 3)
247+
this.$notification.success({
248+
message: '欢迎',
249+
description: `${timeFix()},欢迎回来`,
250+
});
248251
},
249252
requestFailed (err) {
250253
this.$notification[ 'error' ]({

0 commit comments

Comments
 (0)