Commit 13d9695b authored by wzy's avatar wzy

fix: 物料-关联供应商-未保存数据

parent 2a3f2151
......@@ -106,13 +106,11 @@ const MaterialAdd: React.FC<IProps> = (props) => {
state.props.enum = [
...enum_,
...data.map((item) => ({
...item,
label: item['name'],
value: item[key_val]
}))
];
state.originData = [
...enum_, ...data
];
})
})
}, 300);
......
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