【fix】src/components/jero/JEasyCron 修复格式化代码造成的html单引号问题

This commit is contained in:
zhaoxiao
2023-03-03 13:37:03 +08:00
parent 58e9be2a7d
commit b8efff4d56
5 changed files with 98 additions and 89 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" :key='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" :key='v'>{{k}}</a-select-option>
<a-select-option :value="v" :key="v">{{ k }}</a-select-option>
</template>
</a-select>
</div>
@@ -25,11 +25,12 @@
<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" :key='v'>{{k}}</a-select-option>
<a-select-option :value="v" :key="v">{{ k }}</a-select-option>
</template>
</a-select>
开始,间隔
<a-input-number :disabled="type!==TYPE_LOOP || disableChoice" :max="maxValue" :min="minValue" :precision="0" class="w60" v-model="valueLoop.interval"/>
<a-input-number :disabled="type!==TYPE_LOOP || disableChoice" :max="maxValue" :min="minValue" :precision="0" class="w60"
v-model="valueLoop.interval" />
</div>
<div class="item">
@@ -37,7 +38,7 @@
<div class="list">
<a-checkbox-group v-model="valueList">
<template v-for="i in specifyRange">
<a-checkbox class="list-check-item" :key="`key-${i}`" :value="i" :disabled="type!==TYPE_SPECIFY || disabled">{{i}}</a-checkbox>
<a-checkbox class="list-check-item" :key="`key-${i}`" :value="i" :disabled="type!==TYPE_SPECIFY || disabled">{{ i }}</a-checkbox>
</template>
</a-checkbox-group>
</div>
@@ -114,5 +115,5 @@ export default {
</script>
<style lang="less" scoped>
@import "mixin.less";
@import "mixin.less";
</style>