mirror of https://github.com/halo-dev/halo
Fixed add to gallery error.
parent
8f5db967e3
commit
4e9b403bb0
|
@ -244,7 +244,7 @@ export default {
|
|||
this.gallery['thumbnail'] = this.attachment.thumbPath
|
||||
this.gallery['url'] = this.attachment.path
|
||||
this.gallery['description'] = ''
|
||||
this.gallery['takeTime'] = ''
|
||||
this.gallery['takeTime'] = new Date().getTime()
|
||||
this.gallery['location'] = ''
|
||||
this.gallery['team'] = ''
|
||||
galleryApi.create(this.gallery).then(response => {
|
||||
|
|
|
@ -83,11 +83,9 @@
|
|||
<a-list-item-meta :description="item.description">
|
||||
<a
|
||||
slot="title"
|
||||
:href="item.href"
|
||||
>{{ item.title }}</a>
|
||||
>{{ item.content }}</a>
|
||||
<a-avatar
|
||||
slot="avatar"
|
||||
:src="item.avatar"
|
||||
size="large"
|
||||
/>
|
||||
</a-list-item-meta>
|
||||
|
@ -152,7 +150,8 @@ export default {
|
|||
keyword: null
|
||||
},
|
||||
actions: [{ type: 'star-o', text: '156' }, { type: 'like-o', text: '156' }, { type: 'message', text: '2' }],
|
||||
journals: {}
|
||||
journals: [],
|
||||
journal: {}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
</a-tab-pane>
|
||||
<a-tab-pane key="2">
|
||||
<span slot="tab">
|
||||
<a-icon type="database" />资源文件备份
|
||||
<a-icon type="database" />数据库备份
|
||||
</span>
|
||||
<a-table
|
||||
:columns="columns"
|
||||
|
|
Loading…
Reference in New Issue