mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-06 03:58:04 +08:00
commit
6f74be7092
@ -85,8 +85,8 @@ const themeColor = computed(() => {
|
||||
})
|
||||
|
||||
const handleWheel = (e: any) => {
|
||||
e.preventDefault()
|
||||
if (e.ctrlKey || e.metaKey) {
|
||||
e.preventDefault()
|
||||
let resScale = scale.value
|
||||
// 放大(200%)
|
||||
if (e.wheelDelta >= 0 && scale.value < 2) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user