Cron表达式生成器关闭时销毁,避免再次打开时存在上一次修改的数据

This commit is contained in:
yjb 2021-09-17 19:14:41 +08:00
parent 12ab8b03d9
commit aaae404b2a
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@
</div> </div>
</el-dialog> </el-dialog>
<el-dialog title="Cron表达式生成器" :visible.sync="openCron" append-to-body class="scrollbar"> <el-dialog title="Cron表达式生成器" :visible.sync="openCron" append-to-body class="scrollbar" destroy-on-close >
<crontab @hide="openCron=false" @fill="crontabFill" :expression="expression"></crontab> <crontab @hide="openCron=false" @fill="crontabFill" :expression="expression"></crontab>
</el-dialog> </el-dialog>