Browse Source
Merge pull request #1077 from ttheitao/patch-1
fix: 修复调用 setSheetZoom API时图片未更新的问题
master
mengshukeji
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
1 deletions
-
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(); |
|
|
|
} |
|
|
|