Skip to content

Commit 5794809

Browse files
committed
🐽 img zoom
1 parent 5b18755 commit 5794809

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ā€Ždocs/.vuepress/theme/Layout.vueā€Ž

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,17 +88,12 @@ export default {
8888
this.offsetTop = window.pageYOffset || document.documentElement.scrollTop
8989
},
9090
updateZoom () {
91-
console.log('Test')
9291
try {
93-
console.log('Try')
94-
console.log(window)
9592
window && import('medium-zoom')
9693
.then(mediumZoom => {
97-
console.log('Zoom')
9894
mediumZoom.default(document.querySelectorAll('.content img'));
9995
})
10096
} catch (e) {
101-
console.log('Catch')
10297
console.error(e.message)
10398
}
10499
},

0 commit comments

Comments
Ā (0)