Browse Source

remove the verification of the task name in the formModel.vue (#6464)

2.0.7-release
Hua Jiang 3 years ago committed by lenboo
parent
commit
7a3976d840
  1. 7
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue

7
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue

@ -708,13 +708,6 @@
if (this.name === this.backfillItem.name) { if (this.name === this.backfillItem.name) {
return true return true
} }
// Name repeat depends on dom backfill dependent store
const tasks = this.store.state.dag.tasks
const task = tasks.find((t) => t.name === this.name)
if (task) {
this.$message.warning(`${i18n.$t('Name already exists')}`)
return false
}
return true return true
}, },
_verifWorkGroup () { _verifWorkGroup () {

Loading…
Cancel
Save