|
|
@ -198,8 +198,6 @@ function iniFmData () { |
|
|
|
categoryList: [],// |
|
|
|
tagList: [],// |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
internalFile: [],// |
|
|
|
title: '',// |
|
|
|
|
|
|
@ -300,7 +298,10 @@ export default { |
|
|
|
|
|
|
|
}, |
|
|
|
props: { |
|
|
|
|
|
|
|
eventId: { |
|
|
|
type: String, |
|
|
|
default: "", |
|
|
|
}, |
|
|
|
eventDetailData: { |
|
|
|
type: Object, |
|
|
|
default () { |
|
|
@ -364,6 +365,17 @@ export default { |
|
|
|
// this.formData = { ...this.formDataTemp } |
|
|
|
if (this.eventId) { |
|
|
|
this.eventDetailCopy = JSON.parse(JSON.stringify(this.eventDetailData)); |
|
|
|
|
|
|
|
if (this.eventDetailCopy.parentCategoryId && this.eventDetailCopy.categoryId) { |
|
|
|
this.selCategoryArray = [] |
|
|
|
this.selCategoryArray.push(this.eventDetailCopy.parentCategoryId) |
|
|
|
this.selCategoryArray.push(this.eventDetailCopy.categoryId) |
|
|
|
|
|
|
|
this.selCateObj = { |
|
|
|
name: this.eventDetailCopy.categoryName, |
|
|
|
id: this.eventDetailCopy.categoryId |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
|
|
|
|
} |
|
|
|