|
@@ -268,7 +268,9 @@ export default {
|
|
|
// img view
|
|
|
toViewSheetPaper(row) {
|
|
|
this.curImageIndex = 0;
|
|
|
- this.imageList = row.sheetUrls || [];
|
|
|
+ this.imageList = (row.sheetUrls || []).map((url, index) => {
|
|
|
+ return { url, index: index + 1 };
|
|
|
+ });
|
|
|
this.selectImage(this.curImageIndex);
|
|
|
this.$refs.SimpleImagePreview.open();
|
|
|
},
|