fix(接口测试): 避免定时任务时间刷新报错

This commit is contained in:
chenjianxing 2020-11-26 15:54:18 +08:00
parent efde34cb80
commit 7659f1d11b
1 changed files with 3 additions and 1 deletions

View File

@ -73,7 +73,9 @@
this.$emit('scheduleChange'); this.$emit('scheduleChange');
}, },
flashResultList() { flashResultList() {
this.$refs.crontabResult.expressionChange(); if (this.$refs.crontabResult) {
this.$refs.crontabResult.expressionChange();
}
}, },
cancelRefresh() { cancelRefresh() {
if (this.refreshScheduler) { if (this.refreshScheduler) {