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

This commit is contained in:
Hua Jiang 2021-10-11 10:07:57 +08:00 committed by lenboo
parent d13652dd81
commit 7a3976d840
1 changed files with 0 additions and 7 deletions

View File

@ -708,13 +708,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 () {