Browse Source

remove the verification of the task name in the formModel.vue (#6464)

3.0.0/version-upgrade
Hua Jiang 3 years ago committed by GitHub
parent
commit
6e70e51e9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue

7
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue

@ -705,13 +705,6 @@
if (this.name === this.backfillItem.name) { if (this.name === this.backfillItem.name) {
return true 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 return true
}, },
_verifWorkGroup () { _verifWorkGroup () {

Loading…
Cancel
Save