Commit 36aa2bba by 放生的三文鱼

新增资源自动填写默认值

parent 930af7cd
......@@ -808,10 +808,9 @@ const getResourceTag = () => {
if(element.name==='数据负责人'||element.name==='数据管家'){
return <SelectUser item={element} />
}
if (element.selectMode==='多选') return <MultipleSelect element={element}/>;
return <Input disabled={element.manualMaintain==='否'} value={element?.value}/>;
return <Input disabled={element.manualMaintain==='否'} defaultValue={element?.value || ''}/>;
}
const elementDetailComponent = (item, publishedItem) => {
......
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