添加依赖管理

This commit is contained in:
whyour
2021-10-23 18:23:32 +08:00
parent bad247c51c
commit 795d1b938d
19 changed files with 1170 additions and 17 deletions
+2 -2
View File
@@ -368,7 +368,7 @@ const Env = ({ headerStyle, isPhone, theme }: any) => {
setTimeout(() => {
if (selectedRowIds.length === 0 || selectedIds.length === 0) {
const offset = isPhone ? 40 : 0;
setTableScrollHeight(getTableScroll({ extraHeight: 127 }) - offset);
setTableScrollHeight(getTableScroll({ extraHeight: 87 }) - offset);
}
});
};
@@ -438,7 +438,7 @@ const Env = ({ headerStyle, isPhone, theme }: any) => {
useEffect(() => {
const offset = isPhone ? 40 : 0;
setTableScrollHeight(getTableScroll({ extraHeight: 127 }) - offset);
setTableScrollHeight(getTableScroll({ extraHeight: 87 }) - offset);
}, []);
return (
+7 -2
View File
@@ -85,7 +85,12 @@ const EnvModal = ({
<Input placeholder="请输入环境变量名称" />
</Form.Item>
{!env && (
<Form.Item name="split" label="自动拆分" initialValue="0">
<Form.Item
name="split"
label="自动拆分"
initialValue="0"
tooltip="多个依赖是否换行分割"
>
<Radio.Group>
<Radio value="1"></Radio>
<Radio value="0"></Radio>
@@ -106,7 +111,7 @@ const EnvModal = ({
/>
</Form.Item>
<Form.Item name="remarks" label="备注">
<Input />
<Input placeholder="请输入备注" />
</Form.Item>
</Form>
</Modal>