diff --git a/bin/build-entry.js b/bin/build-entry.js index 9f2544b2f..4cbd41f8d 100644 --- a/bin/build-entry.js +++ b/bin/build-entry.js @@ -14,13 +14,13 @@ const install = function(Vue) { {{install}} - // Vue.use(Loading); + Vue.use(Loading); - // Vue.prototype.$msgbox = MessageBox; - // Vue.prototype.$alert = MessageBox.alert; - // Vue.prototype.$confirm = MessageBox.confirm; - // Vue.prototype.$prompt = MessageBox.prompt; - // Vue.prototype.$notify = Notification; + Vue.prototype.$msgbox = MessageBox; + Vue.prototype.$alert = MessageBox.alert; + Vue.prototype.$confirm = MessageBox.confirm; + Vue.prototype.$prompt = MessageBox.prompt; + Vue.prototype.$notify = Notification; }; // auto install diff --git a/examples/components/table-filter.vue b/examples/components/table-filter.vue index bb37a7cd4..a0390df30 100644 --- a/examples/components/table-filter.vue +++ b/examples/components/table-filter.vue @@ -23,7 +23,7 @@ } }, - ready() { + mounted() { console.log('popup ready'); } }; diff --git a/examples/docs/table.md b/examples/docs/table.md index 0aac0e794..ca6575ed9 100644 --- a/examples/docs/table.md +++ b/examples/docs/table.md @@ -1,6 +1,5 @@ @@ -287,7 +296,7 @@ - + @@ -473,19 +488,23 @@ ## 多选 - + - + +
{{ row.date }}
+
-

{{ multipleSelection | json }}

+

{{ multipleSelection }}

```html