修复设置延时任务时时间永远为1
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
<el-input-number
|
||||
:model-value="delayDuration"
|
||||
@update:model-value="updateDelayDuration"
|
||||
:min="1"
|
||||
placeholder="请输入延时时间"
|
||||
style="width: 100%;"
|
||||
></el-input-number>
|
||||
@@ -44,7 +43,7 @@ export default {
|
||||
emits: ["update:parameters"],
|
||||
computed: {
|
||||
delayDuration() { // Renamed from delaySeconds
|
||||
return this.parameters?.delay_duration || 1;
|
||||
return this.parameters?.delay_duration;
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user