|
|
@@ -209,6 +209,7 @@ const Machine = () => { |
|
|
|
<Select style={{ width: 300 }} value={selectedStore} onChange={(value) => { |
|
|
|
setSelectedStore(value); |
|
|
|
onFetchGateList(value); |
|
|
|
setSelectedGate({}); |
|
|
|
}}> |
|
|
|
{ |
|
|
|
storeList.map(item => { |
|
|
@@ -303,12 +304,7 @@ const Machine = () => { |
|
|
|
<Form.Item |
|
|
|
label="间隔时间" |
|
|
|
name="sleepTime" |
|
|
|
rules={[ |
|
|
|
{ |
|
|
|
required: true, |
|
|
|
message: '请输入保护间隔时间!', |
|
|
|
}, |
|
|
|
]} |
|
|
|
|
|
|
|
> |
|
|
|
<InputNumber min={0} defaultValue={10} /> |
|
|
|
</Form.Item> |
|
|
|