Update dependencies.

pull/51/head
ruibaby 2019-10-18 21:02:48 +08:00
parent 6e4a6263a9
commit 327e4fbd20
7 changed files with 16 additions and 4 deletions

View File

@ -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",

View File

@ -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

View File

@ -30,7 +30,9 @@
:paragraph="{ rows: 18 }"
>
<a-col :span="24">
<a-empty v-if="formattedDatas.length==0"/>
<div
v-else
class="attach-item"
v-for="(item, index) in formattedDatas"
:key="index"

View File

@ -28,7 +28,9 @@
:paragraph="{ rows: 18 }"
>
<a-col :span="24">
<a-empty v-if="attachments.length==0"/>
<div
v-else
class="attach-item"
v-for="(item, index) in attachments"
:key="index"

View File

@ -743,7 +743,9 @@ export default {
onPostSettingsClose() {
this.postSettingVisible = false
this.selectedPost = {}
this.loadPosts()
setTimeout(() => {
this.loadPosts()
}, 500)
},
onRefreshPostFromSetting(post) {
this.selectedPost = post

View File

@ -65,10 +65,12 @@
:style="{ 'padding-bottom': '12px' }"
>
<a-card title="所有标签" :bodyStyle="{ padding: '16px' }">
<a-empty v-if="tags.length==0"/>
<a-tooltip
placement="topLeft"
v-for="tag in tags"
:key="tag.id"
v-else
>
<template slot="title">
<span>{{ tag.postCount }} 篇文章</span>

View File

@ -630,7 +630,9 @@ export default {
onSheetSettingsClose() {
this.sheetSettingVisible = false
this.selectedSheet = {}
this.loadSheets()
setTimeout(() => {
this.loadSheets()
}, 500)
},
onRefreshSheetFromSetting(sheet) {
this.selectedSheet = sheet