This is an automated email from the ASF dual-hosted git repository.

leonbao pushed a commit to branch 2.0.0-release-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/2.0.0-release-prepare by this 
push:
     new 7a3976d  remove the verification of the task name in the formModel.vue 
(#6464)
7a3976d is described below

commit 7a3976d84091c06b7622c5cff197ac73889b5779
Author: Hua Jiang <[email protected]>
AuthorDate: Mon Oct 11 10:07:57 2021 +0800

    remove the verification of the task name in the formModel.vue (#6464)
---
 .../src/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 1dcb81c..ceeed13 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 () {

Reply via email to