mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-18 02:14:32 +08:00
添加依赖管理
This commit is contained in:
Vendored
+2
-2
@@ -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 (
|
||||
|
||||
Vendored
+7
-2
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user