Browse Source

优化cron组件中周回显问题

tags/v3.4.0
RuoYi 3 years ago
parent
commit
0d7b23a44f
  1. 2
      ruoyi-ui/src/components/Crontab/index.vue
  2. 2
      ruoyi-ui/src/components/Crontab/week.vue

2
ruoyi-ui/src/components/Crontab/index.vue

@ -273,7 +273,7 @@ export default {
insValue = 5; insValue = 5;
} else { } else {
this.$refs[refName].checkboxList = value.split(","); this.$refs[refName].checkboxList = value.split(",");
insValue = 7; insValue = 6;
} }
} else if (name == "year") { } else if (name == "year") {
if (value == "") { if (value == "") {

2
ruoyi-ui/src/components/Crontab/week.vue

@ -60,7 +60,7 @@
<el-radio v-model='radioValue' :label="6"> <el-radio v-model='radioValue' :label="6">
指定 指定
<el-select clearable v-model="checkboxList" placeholder="可多选" multiple style="width:100%"> <el-select clearable v-model="checkboxList" placeholder="可多选" multiple style="width:100%">
<el-option v-for="(item,index) of weekList" :key="index" :label="item.value" :value="item.key">{{item.value}}</el-option> <el-option v-for="(item,index) of weekList" :key="index" :label="item.value" :value="String(item.key)">{{item.value}}</el-option>
</el-select> </el-select>
</el-radio> </el-radio>
</el-form-item> </el-form-item>

Loading…
Cancel
Save