|
@@ -675,7 +675,7 @@ export default {
|
|
|
})
|
|
|
//获取提交数据时 查询存在于子表数据集合的key 将主子表数据区分开
|
|
|
for (const key in data) {
|
|
|
- if (this.secondaryDbLinkIdList.includes(Number(key)) && Array.isArray(data[key])) {
|
|
|
+ if (this.secondaryDbLinkIdList.includes(key) && Array.isArray(data[key])) {
|
|
|
foreignObj[key] = data[key]
|
|
|
} else {
|
|
|
primaryObj[key] = data[key]
|