|
|
@@ -1551,10 +1551,10 @@ resizePageAndReflow(pages, pageIndex, itemValue) {
|
|
|
let x = 0, y = 0, w = pdfW, h;
|
|
|
if (paperType === "a4") {
|
|
|
x = 28
|
|
|
- w = pdfW + 7
|
|
|
+ w = pdfW + 9
|
|
|
} else if (paperType === "a3") {
|
|
|
x = 56;
|
|
|
- w = pdfW + 14
|
|
|
+ w = pdfW + 18
|
|
|
} else {
|
|
|
x = 0;
|
|
|
w = pdfW
|
|
|
@@ -1678,7 +1678,7 @@ resizePageAndReflow(pages, pageIndex, itemValue) {
|
|
|
// ==========================================
|
|
|
const layout = this.getItemSize(page.layoutMode);
|
|
|
const coords = this.getCoordinate(0, layout);
|
|
|
-
|
|
|
+ console.log(layout, coords, 'layout')
|
|
|
coords.forEach((coord, i) => {
|
|
|
const photoId = page.list[i];
|
|
|
let imgItem = this.photos.find(p => p.id === photoId)
|