mirror of https://github.com/halo-dev/halo
Update dependencies.
parent
5b99ac78b5
commit
adde1254f1
|
@ -10,7 +10,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"animate.css": "^3.7.0",
|
"animate.css": "^3.7.0",
|
||||||
"ant-design-vue": "^1.4.0",
|
"ant-design-vue": "^1.4.1",
|
||||||
"axios": "^0.18.0",
|
"axios": "^0.18.0",
|
||||||
"enquire.js": "^2.1.6",
|
"enquire.js": "^2.1.6",
|
||||||
"filepond": "^4.7.2",
|
"filepond": "^4.7.2",
|
||||||
|
|
|
@ -47,7 +47,8 @@ import {
|
||||||
Comment,
|
Comment,
|
||||||
ConfigProvider,
|
ConfigProvider,
|
||||||
Timeline,
|
Timeline,
|
||||||
Steps
|
Steps,
|
||||||
|
Empty
|
||||||
} from 'ant-design-vue'
|
} from 'ant-design-vue'
|
||||||
|
|
||||||
Vue.use(Anchor)
|
Vue.use(Anchor)
|
||||||
|
@ -96,6 +97,7 @@ Vue.use(Comment)
|
||||||
Vue.use(ConfigProvider)
|
Vue.use(ConfigProvider)
|
||||||
Vue.use(Timeline)
|
Vue.use(Timeline)
|
||||||
Vue.use(Steps)
|
Vue.use(Steps)
|
||||||
|
Vue.use(Empty)
|
||||||
|
|
||||||
Vue.prototype.$message = message
|
Vue.prototype.$message = message
|
||||||
Vue.prototype.$notification = notification
|
Vue.prototype.$notification = notification
|
||||||
|
|
|
@ -30,7 +30,9 @@
|
||||||
:paragraph="{ rows: 18 }"
|
:paragraph="{ rows: 18 }"
|
||||||
>
|
>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
|
<a-empty v-if="formattedDatas.length==0"/>
|
||||||
<div
|
<div
|
||||||
|
v-else
|
||||||
class="attach-item"
|
class="attach-item"
|
||||||
v-for="(item, index) in formattedDatas"
|
v-for="(item, index) in formattedDatas"
|
||||||
:key="index"
|
:key="index"
|
||||||
|
|
|
@ -28,7 +28,9 @@
|
||||||
:paragraph="{ rows: 18 }"
|
:paragraph="{ rows: 18 }"
|
||||||
>
|
>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
|
<a-empty v-if="attachments.length==0"/>
|
||||||
<div
|
<div
|
||||||
|
v-else
|
||||||
class="attach-item"
|
class="attach-item"
|
||||||
v-for="(item, index) in attachments"
|
v-for="(item, index) in attachments"
|
||||||
:key="index"
|
:key="index"
|
||||||
|
|
|
@ -743,7 +743,9 @@ export default {
|
||||||
onPostSettingsClose() {
|
onPostSettingsClose() {
|
||||||
this.postSettingVisible = false
|
this.postSettingVisible = false
|
||||||
this.selectedPost = {}
|
this.selectedPost = {}
|
||||||
this.loadPosts()
|
setTimeout(() => {
|
||||||
|
this.loadPosts()
|
||||||
|
}, 500)
|
||||||
},
|
},
|
||||||
onRefreshPostFromSetting(post) {
|
onRefreshPostFromSetting(post) {
|
||||||
this.selectedPost = post
|
this.selectedPost = post
|
||||||
|
|
|
@ -65,10 +65,12 @@
|
||||||
:style="{ 'padding-bottom': '12px' }"
|
:style="{ 'padding-bottom': '12px' }"
|
||||||
>
|
>
|
||||||
<a-card title="所有标签" :bodyStyle="{ padding: '16px' }">
|
<a-card title="所有标签" :bodyStyle="{ padding: '16px' }">
|
||||||
|
<a-empty v-if="tags.length==0"/>
|
||||||
<a-tooltip
|
<a-tooltip
|
||||||
placement="topLeft"
|
placement="topLeft"
|
||||||
v-for="tag in tags"
|
v-for="tag in tags"
|
||||||
:key="tag.id"
|
:key="tag.id"
|
||||||
|
v-else
|
||||||
>
|
>
|
||||||
<template slot="title">
|
<template slot="title">
|
||||||
<span>{{ tag.postCount }} 篇文章</span>
|
<span>{{ tag.postCount }} 篇文章</span>
|
||||||
|
|
|
@ -630,7 +630,9 @@ export default {
|
||||||
onSheetSettingsClose() {
|
onSheetSettingsClose() {
|
||||||
this.sheetSettingVisible = false
|
this.sheetSettingVisible = false
|
||||||
this.selectedSheet = {}
|
this.selectedSheet = {}
|
||||||
this.loadSheets()
|
setTimeout(() => {
|
||||||
|
this.loadSheets()
|
||||||
|
}, 500)
|
||||||
},
|
},
|
||||||
onRefreshSheetFromSetting(sheet) {
|
onRefreshSheetFromSetting(sheet) {
|
||||||
this.selectedSheet = sheet
|
this.selectedSheet = sheet
|
||||||
|
|
Loading…
Reference in New Issue