Browse Source

fix the page does not refresh after clicking the delete function.. (#4360)

pull/3/MERGE
zhuangchong 4 years ago committed by GitHub
parent
commit
66141d58f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/timing/_source/list.vue

5
dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/timing/_source/list.vue

@ -141,11 +141,10 @@
this.deleteTiming({ this.deleteTiming({
scheduleId: item.id scheduleId: item.id
}).then(res => { }).then(res => {
this.$refs[`poptip-delete-${i}`][0].doClose() this.pageNo = 1
this._getScheduleList('false')
this.$message.success(res.msg) this.$message.success(res.msg)
this.$router.push({ name: 'projects-definition-list' })
}).catch(e => { }).catch(e => {
this.$refs[`poptip-delete-${i}`][0].doClose()
this.$message.error(e.msg || '') this.$message.error(e.msg || '')
}) })
}, },

Loading…
Cancel
Save