浏览代码

fix: 修复数据源列表新增INPUT清空

outaozhen 3 年之前
父节点
当前提交
ed5de24feb
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/pages/Schema/Option/Components/LeftMenu.tsx

+ 1 - 0
src/pages/Schema/Option/Components/LeftMenu.tsx

@@ -121,6 +121,7 @@ const LeftMenu: React.FC<LeftMenuProps> = ({ onSelect, options, showDelIcon, ini
           layout="horizontal"
           title="新增数据源"
           width="30%"
+          formRef={formRef}
           onVisibleChange={visible => !visible && formRef.current?.resetFields()}
           isKeyPressSubmit
           labelCol={{ span: 5 }}