Browse Source

update code.

pull/3/MERGE
zhuangchong 4 years ago
parent
commit
a045827077
  1. 4
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue

4
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue

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

Loading…
Cancel
Save