fix(测试计划): 关闭定时任务弹框不强制刷新页面

--bug=1010319 --user=李敏 批量操作定时任务时,点击取消按钮和右上角关闭按钮不需要请求接口 https://www.tapd.cn/55049933/s/1104969
This commit is contained in:
limin-fit2 2022-02-17 14:02:37 +08:00 committed by 刘瑞斌
parent ffe8babd9c
commit 33ba827423
1 changed files with 1 additions and 1 deletions

View File

@ -83,6 +83,7 @@ export default {
this.$post("/test/plan/schedule/Batch/updateEnable", this.schedule, () => {
this.$success(this.$t('commons.modify_success'));
this.close();
this.$emit("refresh");
});
},
close() {
@ -94,7 +95,6 @@ export default {
};
this.dialogFormVisible = false;
removeGoBackListener(this.close);
this.$emit("refresh");
}
}
}