切换pdf时取消取消全屏
This commit is contained in:
@@ -498,6 +498,9 @@ export default {
|
|||||||
const fileIndex = this.viewportInfos[i].fileList.findIndex(i => i.Path === obj.fileInfo.Path)
|
const fileIndex = this.viewportInfos[i].fileList.findIndex(i => i.Path === obj.fileInfo.Path)
|
||||||
this.sliceIndex(fileIndex)
|
this.sliceIndex(fileIndex)
|
||||||
} else {
|
} else {
|
||||||
|
if (!this.imageType.includes(obj.fileInfo.FileType)) {
|
||||||
|
this.fullScreenIndex = null
|
||||||
|
}
|
||||||
this.updateViewportInfos(this.activeCanvasIndex, obj)
|
this.updateViewportInfos(this.activeCanvasIndex, obj)
|
||||||
}
|
}
|
||||||
if (this.activeCanvasIndex === this.cells.length - 1) {
|
if (this.activeCanvasIndex === this.cells.length - 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user