fix: categories value error

This commit is contained in:
jialin
2025-04-02 17:55:10 +08:00
parent 89a6d6a4c1
commit d3e58c85cf
9 changed files with 46 additions and 44 deletions
@@ -419,7 +419,10 @@ const AddModal: React.FC<AddModalProps> = (props) => {
};
const handleOk = async (values: FormData) => {
const data = generateSubmitData(values);
const data = {
..._.omit(selectSpecRef.current, ['name']),
...values
};
onOk(data);
};