|
@@ -105,12 +105,19 @@ function EditBtn({
|
|
|
...v,
|
|
...v,
|
|
|
id: v.isNew || flag ? null : v.id
|
|
id: v.isNew || flag ? null : v.id
|
|
|
}
|
|
}
|
|
|
|
|
+ // console.log('----------', snapSon)
|
|
|
|
|
|
|
|
// 只有一个藏品的第二个模块
|
|
// 只有一个藏品的第二个模块
|
|
|
if (isTow && i === 0) {
|
|
if (isTow && i === 0) {
|
|
|
|
|
+ const info2Res: any = info2
|
|
|
|
|
+
|
|
|
snapSon = {
|
|
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) {
|
|
if (info.files2 && info.files2.length) {
|
|
|
snapSon.fileIds2 = info.files2.map(v => v.id).join(',')
|
|
snapSon.fileIds2 = info.files2.map(v => v.id).join(',')
|