You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ki...@apache.org on 2021/01/04 01:30:16 UTC

[incubator-dolphinscheduler] branch dev updated: fix the page does not refresh after clicking the delete function.. (#4360)

This is an automated email from the ASF dual-hosted git repository.

kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 66141d5  fix the page does not refresh after clicking the delete function.. (#4360)
66141d5 is described below

commit 66141d58f6e19285a1a5d4d7cbd508b0f585a26c
Author: zhuangchong <37...@users.noreply.github.com>
AuthorDate: Mon Jan 4 09:30:04 2021 +0800

    fix the page does not refresh after clicking the delete function.. (#4360)
---
 .../home/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 f773edf..b566976 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 || '')
         })
       },