From 6e70e51e9f730cff8653496a28c76e84823403c7 Mon Sep 17 00:00:00 2001 From: Hua Jiang Date: Mon, 11 Oct 2021 10:07:57 +0800 Subject: [PATCH] remove the verification of the task name in the formModel.vue (#6464) --- .../js/conf/home/pages/dag/_source/formModel/formModel.vue | 7 ------- 1 file changed, 7 deletions(-) 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 06f7fe6662..84efeb290f 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 @@ -705,13 +705,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 () {