@@ -401,7 +401,11 @@ function FlowModal(props) {
destroyOnClose
title="流程图"
visible={visible}
- onCancel={onClose}
+ onCancel={() => {
+ setSelectType(SELECT_TYPE.NAME);
+ setInputValue('');
+ onClose();
+ }}
footer={false}
width="98%"
// bodyStyle={{ maxHeight: '660px', overflow: 'auto' }}