51277f53 by lxs

数据资产登记更新

1 parent b4cce758
......@@ -241,9 +241,9 @@ const setBaseFormItemsValue = (info: any) => {
item.inputOptions.visible = false;
}
} else if (item.field == 'updateFrequency') {
item.default = Array.isArray(info[item.field]) ? info[item.field][0] : (info[item.field] || []);
item.default = Array.isArray(info[item.field]) ? info[item.field][0] : (info[item.field] || '');
} else if (item.field == 'ownIndustry') {
item.default = Array.isArray(info[item.field]) ? info[item.field][0] : (info[item.field] || []);
item.default = Array.isArray(info[item.field]) ? info[item.field][0] : (info[item.field] || '');
item.inputOptions.default = info['ownIndustryOther'];
if (info['ownIndustry']?.includes(4)) {
item.inputOptions.visible = true;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!