From 44a27766b3a5afb8f7c71cbf0ad714548a8d68a8 Mon Sep 17 00:00:00 2001 From: ttheitao <452036812@qq.com> Date: Thu, 30 Jun 2022 14:35:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=B0=83=E7=94=A8=20s?= =?UTF-8?q?etSheetZoom=20API=E6=97=B6=E5=9B=BE=E7=89=87=E6=9C=AA=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/global/api.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/global/api.js b/src/global/api.js index 8c18ea8..60d0c9d 100644 --- a/src/global/api.js +++ b/src/global/api.js @@ -5479,7 +5479,12 @@ export function setSheetZoom(zoom, options = {}) { if(file.index == Store.currentSheetIndex){ Store.zoomRatio = zoom; - + // 图片 + let currentSheet = sheetmanage.getSheetByIndex(); + imageCtrl.images = currentSheet.images; + imageCtrl.allImagesShow(); + imageCtrl.init(); + zoomNumberDomBind(); zoomRefreshView(); }