!390 fix: cron组件中周回显bug

Merge pull request !390 from fuzui/fix_week_echo_in_cron_component
master
若依 3 years ago committed by Gitee
commit bf7c259cdd

@ -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 == "") {

@ -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