【fix ESLint】src/components/jero/JEasyCron

This commit is contained in:
zhaoxiao
2023-03-03 10:59:05 +08:00
parent 8adecfe2fb
commit 45bf9c857d
11 changed files with 131 additions and 93 deletions
@@ -10,13 +10,13 @@
<a-select v-model="valueRange.start" class="w80" :disabled="type!==TYPE_RANGE || disableChoice">
<template v-for="(v, k) of WEEK_MAP">
<a-select-option :value="v">{{k}}</a-select-option>
<a-select-option :value="v" :key='v'>{{k}}</a-select-option>
</template>
</a-select>
<a-select v-model="valueRange.end" class="w80" :disabled="type!==TYPE_RANGE || disableChoice">
<template v-for="(v, k) of WEEK_MAP">
<a-select-option :value="v">{{k}}</a-select-option>
<a-select-option :value="v" :key='v'>{{k}}</a-select-option>
</template>
</a-select>
</div>
@@ -25,7 +25,7 @@
<a-select v-model="valueLoop.start" class="w80" :disabled="type!==TYPE_LOOP || disableChoice">
<template v-for="(v, k) of WEEK_MAP">
<a-select-option :value="v">{{k}}</a-select-option>
<a-select-option :value="v" :key='v'>{{k}}</a-select-option>
</template>
</a-select>
开始,间隔
@@ -82,11 +82,11 @@ export default {
}
},
watch: {
value_c (newVal, oldVal) {
value_c () {
// 如果设置日,那么星期就直接不设置
this.updateValue()
},
day (newVal) {
day () {
// console.info('new day: ' + newVal)
this.updateValue()
}