fix: 点击定时任务启动报错

This commit is contained in:
chenjianxing 2020-08-04 18:01:41 +08:00
parent f274cd3b32
commit bca1ef13cb
1 changed files with 3 additions and 3 deletions

View File

@ -1,11 +1,11 @@
<template> <template>
<div class="schedule-config"> <div class="schedule-config">
<div> <div>
<span class="cron-ico"> <span class="cron-ico" @click="scheduleEdit">
<i class="el-icon-date" size="small"></i> <i class="el-icon-date" size="small"></i>
<span class="character" @click="scheduleEdit">SCHEDULER</span> <span class="character">SCHEDULER</span>
</span> </span>
<el-switch :disabled="!schedule.value && isReadOnly" v-model="schedule.enable" @change="scheduleChange"/> <el-switch :disabled="!schedule.value || isReadOnly" v-model="schedule.enable" @change="scheduleChange"/>
<ms-schedule-edit :is-read-only="isReadOnly" :schedule="schedule" :save="save" :custom-validate="customValidate" ref="scheduleEdit"/> <ms-schedule-edit :is-read-only="isReadOnly" :schedule="schedule" :save="save" :custom-validate="customValidate" ref="scheduleEdit"/>
<crontab-result v-show="false" :ex="schedule.value" ref="crontabResult" @resultListChange="resultListChange"/> <crontab-result v-show="false" :ex="schedule.value" ref="crontabResult" @resultListChange="resultListChange"/>
</div> </div>