|
@@ -99,9 +99,9 @@ Page({
|
|
|
value.attinfos = file.fileList(value.attinfos)
|
|
value.attinfos = file.fileList(value.attinfos)
|
|
|
let image = value.attinfos.find(v => v.fileType == "image");
|
|
let image = value.attinfos.find(v => v.fileType == "image");
|
|
|
value.cover = image ? image.cover : "";
|
|
value.cover = image ? image.cover : "";
|
|
|
- value.brandnames = value.brand.map(v=>getApp().globalData.Language.getMapText(v.brandname))
|
|
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+ value.brandnames = Array.isArray(value.brand) ? value.brand.map(v=>getApp().globalData.Language.getMapText(v.brandname)).join('、') : ''
|
|
|
|
|
+ value.itemclassnames = Array.isArray(value.itemclass) ? value.itemclass.map(v=>getApp().globalData.Language.getMapText(v.itemclassname)).join('、') : (value.itemclassname || value.itemclassids || '')
|
|
|
return value;
|
|
return value;
|
|
|
})
|
|
})
|
|
|
this.setData({
|
|
this.setData({
|