diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue index 34dfdb8b9ba47d6427b24ee3bb29f1951a444a01..3d81d3ee1715afa1f0197c406741b3ff866ad19d 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue @@ -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