From 327e4fbd20c79b460d42cf267f139249ffc96c27 Mon Sep 17 00:00:00 2001 From: ruibaby Date: Fri, 18 Oct 2019 21:02:48 +0800 Subject: [PATCH] Update dependencies. --- package.json | 2 +- src/core/lazy_lib/components_use.js | 4 +++- src/views/attachment/components/AttachmentDrawer.vue | 2 ++ src/views/attachment/components/AttachmentSelectDrawer.vue | 2 ++ src/views/post/PostList.vue | 4 +++- src/views/post/TagList.vue | 2 ++ src/views/sheet/SheetList.vue | 4 +++- 7 files changed, 16 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index df39e680..0858cbe7 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "animate.css": "^3.7.0", - "ant-design-vue": "^1.4.0", + "ant-design-vue": "^1.4.1", "axios": "^0.18.0", "enquire.js": "^2.1.6", "filepond": "^4.7.2", diff --git a/src/core/lazy_lib/components_use.js b/src/core/lazy_lib/components_use.js index 8f5e2dcb..0003392e 100644 --- a/src/core/lazy_lib/components_use.js +++ b/src/core/lazy_lib/components_use.js @@ -47,7 +47,8 @@ import { Comment, ConfigProvider, Timeline, - Steps + Steps, + Empty } from 'ant-design-vue' Vue.use(Anchor) @@ -96,6 +97,7 @@ Vue.use(Comment) Vue.use(ConfigProvider) Vue.use(Timeline) Vue.use(Steps) +Vue.use(Empty) Vue.prototype.$message = message Vue.prototype.$notification = notification diff --git a/src/views/attachment/components/AttachmentDrawer.vue b/src/views/attachment/components/AttachmentDrawer.vue index 2556acd3..e79ac0d2 100644 --- a/src/views/attachment/components/AttachmentDrawer.vue +++ b/src/views/attachment/components/AttachmentDrawer.vue @@ -30,7 +30,9 @@ :paragraph="{ rows: 18 }" > +
+
{ + this.loadPosts() + }, 500) }, onRefreshPostFromSetting(post) { this.selectedPost = post diff --git a/src/views/post/TagList.vue b/src/views/post/TagList.vue index 827a0217..9531795f 100644 --- a/src/views/post/TagList.vue +++ b/src/views/post/TagList.vue @@ -65,10 +65,12 @@ :style="{ 'padding-bottom': '12px' }" > +