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