|
@@ -77,7 +77,13 @@ Page({
|
|
|
if (value.attinfos.length != 0) {
|
|
|
value.attinfos = fileList(value.attinfos)
|
|
|
let image = value.attinfos.find(v => v.fileType == "image");
|
|
|
- value.cover = image ? image.cover : "";
|
|
|
+ if (image) {
|
|
|
+ try {
|
|
|
+ value.cover = image.subfiles.find(v => v.type == "thumbnail").url;
|
|
|
+ } catch (error) {
|
|
|
+ value.cover = image.url;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
if (value.islimit == 0) value.groupqty = 0;
|
|
|
if (value.gradeprice) value.gradeprice = (value.gradeprice - 0).toFixed(2)
|