未验证 提交 6aafa81a 编写于 作者: B break60 提交者: GitHub

fixBug('#6172') Dag node name value judgment error (#6175)

Co-authored-by: Nxiangcaibiao <caibiao.xiang@sinocare.com>
上级 14feda99
......@@ -695,7 +695,7 @@
}
// Name repeat depends on dom backfill dependent store
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) {
this.$message.warning(`${i18n.$t('Name already exists')}`)
return false
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册