Browse Source

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

Hua Jiang 3 years ago
parent
commit
6e70e51e9f

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

@@ -705,13 +705,6 @@
         if (this.name === this.backfillItem.name) {
           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
       },
       _verifWorkGroup () {