fix: optional chaining bug

This commit is contained in:
丁锐
2021-12-06 17:18:09 +08:00
parent e4f3591466
commit e8452c91df
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -207,7 +207,7 @@ export default {
methods: {
printPDF() {
const contentWindow = this.$refs.iframe.getContentWindow()
contentWindow?.print()
contentWindow.print()
},
updateZoomFullpage() {
const perViewerHeight = this.viewerContentHeight / this.total