Commit 028dbe6b by zhaochengxiang

资产打标签

parent 13ae2ddd
......@@ -182,7 +182,7 @@ const AssetTagModal = (props) => {
},
callback: () => {
setConfirmLoading(false);
form?.resetFields();
reset();
onCancel && onCancel(true);
},
error: () => {
......@@ -206,6 +206,11 @@ const AssetTagModal = (props) => {
}
}
const reset = () => {
setConfirmLoading(false);
form?.resetFields();
}
const formItemLayout = {
labelCol: {
xs: { span: 24 },
......@@ -225,7 +230,7 @@ const AssetTagModal = (props) => {
visible={ visible }
width={ 600 }
onCancel={() => {
form?.resetFields();
reset();
onCancel && onCancel();
} }
footer={
......
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