feat: 3.1.0
1. 修复触发类型错误问题
This commit is contained in:
parent
90d9a70bf7
commit
f0a6d5d4fc
File diff suppressed because one or more lines are too long
@ -5,7 +5,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Easy Retry</title>
|
||||
<script type="module" crossorigin src="./assets/GwPZ0iGD.js"></script>
|
||||
<script type="module" crossorigin src="./assets/2cvupYat.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="./assets/sBY4ZtAT.css">
|
||||
</head>
|
||||
|
||||
|
@ -113,7 +113,7 @@
|
||||
]" />
|
||||
|
||||
<a-input
|
||||
v-if="triggerTypeValue === '1'"
|
||||
v-if="triggerTypeValue === '3'"
|
||||
@click="handlerCron"
|
||||
placeholder="请输入间隔时长"
|
||||
v-decorator="[
|
||||
@ -122,7 +122,7 @@
|
||||
]" />
|
||||
|
||||
<a-input
|
||||
v-if="triggerTypeValue === '3'"
|
||||
v-if="triggerTypeValue === '99'"
|
||||
disabled
|
||||
placeholder=""
|
||||
v-decorator="[
|
||||
@ -406,7 +406,7 @@ export default {
|
||||
},
|
||||
handlerCron () {
|
||||
const triggerType = this.form.getFieldValue('triggerType')
|
||||
if (triggerType === '1') {
|
||||
if (triggerType === '3') {
|
||||
let triggerInterval = this.form.getFieldValue('triggerInterval')
|
||||
if (triggerInterval === null || triggerInterval === '') {
|
||||
triggerInterval = '* * * * * ?'
|
||||
@ -477,7 +477,7 @@ export default {
|
||||
values['argsStr'] = JSON.stringify(this.argsStrValue)
|
||||
}
|
||||
|
||||
if (this.triggerTypeValue === '3') {
|
||||
if (this.triggerTypeValue === '99') {
|
||||
values['triggerInterval'] = '0'
|
||||
}
|
||||
|
||||
@ -515,7 +515,7 @@ export default {
|
||||
this.triggerTypeValue = formData.triggerType
|
||||
this.taskTypeValue = formData.taskType
|
||||
|
||||
if (this.triggerTypeValue === '3') {
|
||||
if (this.triggerTypeValue === '99') {
|
||||
formData.triggerInterval = null
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user