Compare commits

..

No commits in common. "ce030d23cd39dd40b66aec007e178b018c08884c" and "d5b342ddc63f0732020754586bb9c5230858975d" have entirely different histories.

2 changed files with 3 additions and 7 deletions

View File

@ -649,12 +649,9 @@ export default {
// //
toggleFullScreen(e, index) { toggleFullScreen(e, index) {
const i = this.viewportInfos.findIndex(i => i.index === index) const i = this.viewportInfos.findIndex(i => i.index === index)
if (i === -1) return if (i === -1 && this.imageType.includes(this.viewportInfos[i].fileType)) return
if (!this.viewportInfos[i].currentFileName) return
if (this.imageType.includes(this.viewportInfos[i].fileType)) {
this.fullScreenIndex = this.fullScreenIndex === index ? null : index this.fullScreenIndex = this.fullScreenIndex === index ? null : index
this.activeCanvasIndex = index this.activeCanvasIndex = index
}
}, },
// //
toggleTask(evt, visitTaskNum, i) { toggleTask(evt, visitTaskNum, i) {

View File

@ -466,7 +466,6 @@ export default {
width: 400px; width: 400px;
border: 1px solid #727272; border: 1px solid #727272;
padding: 0 10px; padding: 0 10px;
overflow-y: auto;
.text-info { .text-info {
display: flex; display: flex;
align-items: center; align-items: center;