Vue mouseWheel 事件兼容

mouseWheel 事件怎麼作Chrome兼容 經過@wheel.prevent標籤調用對應function. 參考答案以下:css <template> <div class="scroll-container" ref="scrollContainer" @wheel.prevent="handleScroll" > <div class="scroll-wrapper" ref
相關文章
相關標籤/搜索