mirror of https://github.com/halo-dev/halo-admin
Update dependencies.
parent
6e4a6263a9
commit
327e4fbd20
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -743,7 +743,9 @@ export default {
|
|||
onPostSettingsClose() {
|
||||
this.postSettingVisible = false
|
||||
this.selectedPost = {}
|
||||
this.loadPosts()
|
||||
setTimeout(() => {
|
||||
this.loadPosts()
|
||||
}, 500)
|
||||
},
|
||||
onRefreshPostFromSetting(post) {
|
||||
this.selectedPost = post
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -630,7 +630,9 @@ export default {
|
|||
onSheetSettingsClose() {
|
||||
this.sheetSettingVisible = false
|
||||
this.selectedSheet = {}
|
||||
this.loadSheets()
|
||||
setTimeout(() => {
|
||||
this.loadSheets()
|
||||
}, 500)
|
||||
},
|
||||
onRefreshSheetFromSetting(sheet) {
|
||||
this.selectedSheet = sheet
|
||||
|
|
Loading…
Reference in New Issue