切换pdf时取消取消全屏
parent
ce030d23cd
commit
7db8e231b6
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue