From 66141d58f6e19285a1a5d4d7cbd508b0f585a26c Mon Sep 17 00:00:00 2001 From: zhuangchong <37063904+zhuangchong@users.noreply.github.com> Date: Mon, 4 Jan 2021 09:30:04 +0800 Subject: [PATCH] fix the page does not refresh after clicking the delete function.. (#4360) --- .../pages/projects/pages/definition/timing/_source/list.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/timing/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/timing/_source/list.vue index f773edfae1..b566976c3e 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/timing/_source/list.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/timing/_source/list.vue @@ -141,11 +141,10 @@ this.deleteTiming({ scheduleId: item.id }).then(res => { - this.$refs[`poptip-delete-${i}`][0].doClose() + this.pageNo = 1 + this._getScheduleList('false') this.$message.success(res.msg) - this.$router.push({ name: 'projects-definition-list' }) }).catch(e => { - this.$refs[`poptip-delete-${i}`][0].doClose() this.$message.error(e.msg || '') }) },