feat:修改标签编辑保存问题

main
liu.shiyi 2 years ago
parent 2d208d1a98
commit fe00728be1

@ -837,7 +837,7 @@ export default {
getDataset(this.datasetId).then(res => {
const { id, name, typeId, remark, datasetType, moduleCode, editable, sourceId, config } = res
const { script, paramsList, fieldDesc, fieldList } = config
this.dataForm = { id, name, typeId, remark, datasetType, moduleCode, editable, sourceId, config: { ...config } }
this.dataForm = { id, name, typeId, remark, datasetType, moduleCode, editable, sourceId, config: { ...config }, labelIds: this.dataForm.labelIds }
this.fieldDesc = fieldDesc
this.outputFieldList = fieldList
this.newParamsList = _.cloneDeep(paramsList)

Loading…
Cancel
Save