Fixed add to gallery error.

pull/3445/head
ruibaby 2019-04-25 21:29:43 +08:00
parent 8f5db967e3
commit 4e9b403bb0
3 changed files with 5 additions and 6 deletions

View File

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

View File

@ -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() {

View File

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