diff --git a/CHANGE.md b/CHANGE.md
index d71c88cf..8e982948 100644
--- a/CHANGE.md
+++ b/CHANGE.md
@@ -50,4 +50,9 @@ class 改为 className
### LoadingBar
部分 prop 移至 data
### Modal
-visible 改为 value,使用 v-model,style 改为 styles,$Modal 的关闭有改动,建议后面在纯 html 模式下测试
\ No newline at end of file
+visible 改为 value,使用 v-model,style 改为 styles,$Modal 的关闭有改动,建议后面在纯 html 模式下测试
+### Table
+i-table 改为 Table
+### Message
+notice.vue 的 key 改为了 name,style 改为 styles
+notification.vue 的 key 改为了 name,style 改为 styles
\ No newline at end of file
diff --git a/README.md b/README.md
index db181d47..f6e26f7f 100644
--- a/README.md
+++ b/README.md
@@ -37,7 +37,7 @@
- [x] Form
- [x] Alert
- [x] Card
-- [ ] Message
+- [x] Message
- [ ] Notice
- [x] Modal
- [x] Progress
diff --git a/examples/app.vue b/examples/app.vue
index aee4fbe1..f823786c 100644
--- a/examples/app.vue
+++ b/examples/app.vue
@@ -52,6 +52,7 @@ li + li { border-left: solid 1px #bbb; padding-left: 10px; margin-left: 10px; }
Table
LoadingBar
Modal
+ Message
diff --git a/examples/main.js b/examples/main.js
index 1971bf55..6e71b73b 100644
--- a/examples/main.js
+++ b/examples/main.js
@@ -172,6 +172,10 @@ const router = new VueRouter({
{
path: '/modal',
component: require('./routers/modal.vue')
+ },
+ {
+ path: '/message',
+ component: require('./routers/message.vue')
}
]
});
diff --git a/examples/routers/message.vue b/examples/routers/message.vue
index 012292c9..1112b0f3 100644
--- a/examples/routers/message.vue
+++ b/examples/routers/message.vue
@@ -1,44 +1,20 @@
- 标准
- 自定义按钮文字
- 异步关闭
+ 显示一个10秒的提示
diff --git a/src/components/base/notification/index.js b/src/components/base/notification/index.js
index 2bd5c4b0..4193c0e1 100644
--- a/src/components/base/notification/index.js
+++ b/src/components/base/notification/index.js
@@ -24,8 +24,8 @@ Notification.newInstance = properties => {
notice (noticeProps) {
notification.add(noticeProps);
},
- remove (key) {
- notification.close(key);
+ remove (name) {
+ notification.close(name);
},
component: notification,
destroy () {
diff --git a/src/components/base/notification/notice.vue b/src/components/base/notification/notice.vue
index c360afc7..77396628 100644
--- a/src/components/base/notification/notice.vue
+++ b/src/components/base/notification/notice.vue
@@ -1,10 +1,12 @@
-
-
{{{ content }}}
-
-
-
-
+
+
+