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['thumbnail'] = this.attachment.thumbPath
this.gallery['url'] = this.attachment.path this.gallery['url'] = this.attachment.path
this.gallery['description'] = '' this.gallery['description'] = ''
this.gallery['takeTime'] = '' this.gallery['takeTime'] = new Date().getTime()
this.gallery['location'] = '' this.gallery['location'] = ''
this.gallery['team'] = '' this.gallery['team'] = ''
galleryApi.create(this.gallery).then(response => { galleryApi.create(this.gallery).then(response => {

View File

@ -83,11 +83,9 @@
<a-list-item-meta :description="item.description"> <a-list-item-meta :description="item.description">
<a <a
slot="title" slot="title"
:href="item.href" >{{ item.content }}</a>
>{{ item.title }}</a>
<a-avatar <a-avatar
slot="avatar" slot="avatar"
:src="item.avatar"
size="large" size="large"
/> />
</a-list-item-meta> </a-list-item-meta>
@ -152,7 +150,8 @@ export default {
keyword: null keyword: null
}, },
actions: [{ type: 'star-o', text: '156' }, { type: 'like-o', text: '156' }, { type: 'message', text: '2' }], actions: [{ type: 'star-o', text: '156' }, { type: 'like-o', text: '156' }, { type: 'message', text: '2' }],
journals: {} journals: [],
journal: {}
} }
}, },
created() { created() {

View File

@ -37,7 +37,7 @@
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="2"> <a-tab-pane key="2">
<span slot="tab"> <span slot="tab">
<a-icon type="database" />资源文件备份 <a-icon type="database" />数据库备份
</span> </span>
<a-table <a-table
:columns="columns" :columns="columns"