Commit b9bda11f by zhaochengxiang

bug fix

parent ff43a8d0
......@@ -120,7 +120,17 @@ const ImportAction = React.forwardRef((props, ref) => {
modelerDataRef.current = newModelerData;
}
getCurrentDataModel()
setLoading(true);
dispatch({
type: 'datamodel.getAllConstraints',
callback: data => {
setConstraints(data);
getCurrentDataModel();
},
error: () => {
setLoading(false);
}
})
}
}, [approvalModelId, action])
......
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