From 7a3976d84091c06b7622c5cff197ac73889b5779 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 1dcb81c155..ceeed1303c 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 @@ -708,13 +708,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 () {