切换pdf时取消取消全屏

This commit is contained in:
2025-03-12 13:10:26 +08:00
parent ce030d23cd
commit 7db8e231b6
@@ -498,6 +498,9 @@ export default {
const fileIndex = this.viewportInfos[i].fileList.findIndex(i => i.Path === obj.fileInfo.Path)
this.sliceIndex(fileIndex)
} else {
if (!this.imageType.includes(obj.fileInfo.FileType)) {
this.fullScreenIndex = null
}
this.updateViewportInfos(this.activeCanvasIndex, obj)
}
if (this.activeCanvasIndex === this.cells.length - 1) {