fix: [Bug]修改已存在数据源保存时提示已存在相同配置数据源 #6267

This commit is contained in:
taojinlong 2023-11-20 18:42:30 +08:00
parent c189301915
commit 3fbb8db02e
2 changed files with 2 additions and 2 deletions

View File

@ -566,7 +566,7 @@ export default {
this.tData.forEach(item => {
if (item.id === this.form.type) {
item.children.forEach(child => {
if (this.formType === 'modify' && child.id === this.form.id) {
if (child.id === this.form.id) {
return
}
const configuration = JSON.parse(child.configuration)

View File

@ -886,7 +886,7 @@ export default {
this.tData.forEach((item) => {
if (item.id === this.form.type) {
item.children.forEach((child) => {
if (this.formType === 'modify' && child.id === this.form.id) {
if (child.id === this.form.id) {
return
}
const configuration = JSON.parse(child.configuration)