修复轮询、预案延时低于最低延时时依然可以设置成功的BUG

This commit is contained in:
fangxiang 2022-06-22 15:34:02 +08:00
parent ee88932035
commit a9285b0666
2 changed files with 13 additions and 3 deletions

View File

@ -475,9 +475,13 @@ export default defineComponent({
key: "operator_call_mode",
value: item.uuid,
});
__datas.push({
key: "param_delay",
value: item.delay.toString(),
value:
item.delay < __MIN_DELAY
? __MIN_DELAY.toString()
: item.delay.toString(),
});
}
}
@ -526,7 +530,10 @@ export default defineComponent({
});
__datas.push({
key: "param_delay",
value: item.delay.toString(),
value:
item.delay < __MIN_DELAY
? __MIN_DELAY.toString()
: item.delay.toString(),
});
}
}

View File

@ -398,7 +398,10 @@ export default defineComponent({
});
__datas.push({
key: "param_delay",
value: item.delay.toString(),
value:
item.delay < __MIN_DELAY
? __MIN_DELAY.toString()
: item.delay.toString(),
});
}
}