fix: [Bug]修改已存在数据源保存时提示已存在相同配置数据源 #6267
This commit is contained in:
parent
c189301915
commit
3fbb8db02e
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user