Skip to content

Commit 31e63da

Browse files
authored
🚧 Fix probe rule expected wrong (#87)
1 parent 6aa1e59 commit 31e63da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ā€Žsrc/pages/probing/create.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ export const CreateProbingRule = ({ type, handleList }) => {
106106
setRecoverNotify(selectedRow.recoverNotify)
107107
setEnabled(selectedRow.enabled)
108108
setMethodType(selectedRow.probingEndpointConfig.http.method)
109+
setCalculate(selectedRow.probingEndpointConfig.strategy.operator)
109110
form.setFieldsValue({
110111
ruleName: selectedRow.ruleName,
111112
ruleType: selectedRow.ruleType,
@@ -454,7 +455,7 @@ export const CreateProbingRule = ({ type, handleList }) => {
454455
<Select
455456
placeholder="运算"
456457
style={{
457-
width: '90px',
458+
width: '100px',
458459
borderRadius: '0',
459460
}}
460461
defaultValue={">"}

0 commit comments

Comments
Ā (0)