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 18cf86a2b6..8bb0b66640 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 @@ -99,7 +99,6 @@ name: 'udp', data () { return { - originalName: '', // dag name name: '', // dag description @@ -170,7 +169,7 @@ this.$emit('onUdp') } - if (this.originalName !== this.name) { + if (this.store.state.dag.name !== this.name) { this.store.dispatch('dag/verifDAGName', this.name).then(res => { _verif() }).catch(e => { @@ -200,7 +199,6 @@ this.udpList = dag.globalParams this.udpListCache = dag.globalParams this.name = dag.name - this.originalName = dag.name this.description = dag.description this.syncDefine = dag.syncDefine this.timeout = dag.timeout || 0