This is an automated email from the ASF dual-hosted git repository.
leonbao pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 6aafa81 fixBug('#6172') Dag node name value judgment error (#6175)
6aafa81 is described below
commit 6aafa81affca5fcab05c94cbcc94738c5f271e6b
Author: break60 <[email protected]>
AuthorDate: Thu Sep 16 21:10:59 2021 +0800
fixBug('#6172') Dag node name value judgment error (#6175)
Co-authored-by: xiangcaibiao <[email protected]>
---
.../src/js/conf/home/pages/dag/_source/formModel/formModel.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 34dfdb8..3d81d3e 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