@@ -105,12 +105,19 @@ function EditBtn({
...v,
id: v.isNew || flag ? null : v.id
}
+ // console.log('----------', snapSon)
// 只有一个藏品的第二个模块
if (isTow && i === 0) {
+ const info2Res: any = info2
+
snapSon = {
- ...snapSon,
- ...info2
+ id: snapSon.id,
+ idTemp: snapSon.idTemp,
+ name: snapSon.name,
+ num: snapSon.num,
+ thumbPc: snapSon.thumbPc,
+ ...info2Res
if (info.files2 && info.files2.length) {
snapSon.fileIds2 = info.files2.map(v => v.id).join(',')
@@ -93,6 +93,7 @@ function EditTop({ rowArr, pageTxt, APIobj, fileUpInfo, moreDom }: Props) {
arrTemp.push(obj)
+ // 第二个模块的信息回显
if (moreDom && moreDom.domList && moreDom.domList.length && i === 0) {
let obj2: any = {}