fix(数据源): API 数据集编辑后无变化

This commit is contained in:
taojinlong 2022-08-29 18:13:03 +08:00
parent 74c1d2b249
commit 5e5e1dd801

View File

@ -27,6 +27,7 @@
class="my_table"
max-height="300"
height="300"
:key="certinKey"
>
<el-table-column
prop="name"
@ -907,6 +908,7 @@ export default {
value: 3,
},
],
certinKey: false
};
},
created() {
@ -1000,6 +1002,7 @@ export default {
for (var i = 0; i < this.form.apiConfiguration.length; i++) {
if (this.form.apiConfiguration[i].serialNumber === this.apiItem.serialNumber) {
this.form.apiConfiguration[i] = JSON.parse(JSON.stringify(this.apiItem))
this.certinKey = ! this.certinKey
}
}
} else {