You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ch...@apache.org on 2020/10/16 06:27:26 UTC
[incubator-dolphinscheduler] branch 1.3.3-release updated: Workflow
definition name re-modified and added check
This is an automated email from the ASF dual-hosted git repository.
chenxingchun pushed a commit to branch 1.3.3-release
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git
The following commit(s) were added to refs/heads/1.3.3-release by this push:
new fb6c4db Workflow definition name re-modified and added check
new 72627be Merge pull request #3925 from break60/1.3.3-release
fb6c4db is described below
commit fb6c4dbd243a6877ead5674b40b321d65d60a119
Author: break60 <79...@qq.com>
AuthorDate: Fri Oct 16 14:02:38 2020 +0800
Workflow definition name re-modified and added check
---
.../src/js/conf/home/pages/dag/_source/udp/udp.vue | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue
index 4acd550..e6949b3 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue
@@ -170,8 +170,14 @@
}
// Edit => direct storage
- if (this.store.state.dag.name) {
+ if (this.store.state.dag.name && this.store.state.dag.name===this.name) {
_verif()
+ } else if (this.store.state.dag.name && this.store.state.dag.name!==this.name) {
+ this.store.dispatch('dag/verifDAGName', this.name).then(res => {
+ _verif()
+ }).catch(e => {
+ this.$message.error(e.msg || '')
+ })
} else {
// New First verify that the name exists
this.store.dispatch('dag/verifDAGName', this.name).then(res => {