Commit 21612eb5 authored by xioln's avatar xioln

附件上传附件用于

parent 03dcfa66
...@@ -92,9 +92,8 @@ export default { ...@@ -92,9 +92,8 @@ export default {
{ {
align: 'center', align: 'center',
headerAlign: 'center', headerAlign: 'center',
key: 'target.contentType', key: 'contentType',
level: 1, level: 1,
parentKey: 'target',
show: true, show: true,
title: '附件用于', title: '附件用于',
component: { component: {
......
...@@ -487,6 +487,7 @@ export default { ...@@ -487,6 +487,7 @@ export default {
cellDataChange(val) { cellDataChange(val) {
const row = this.$utils._set(val.row, val.key, val.value) const row = this.$utils._set(val.row, val.key, val.value)
row.operator = 'MODIFY' row.operator = 'MODIFY'
row.contentType = row.target.contentType
this.$set(this.tableData, val.rowIndex, row) this.$set(this.tableData, val.rowIndex, row)
this.$emit('uploadData', this.tableData) this.$emit('uploadData', this.tableData)
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment