fix: reduce passive event warning of touchstart event (#10954)

This commit is contained in:
neverland
2022-08-21 22:08:27 +08:00
committed by GitHub
parent 6b7ae0f6a0
commit 717f244d2f
13 changed files with 21 additions and 19 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ export default defineComponent({
class={bem('sidebar')}
style={sidebarStyle.value}
onClick={onClickSidebar}
onTouchstart={touch.start}
onTouchstartPassive={touch.start}
onTouchmove={onTouchMove}
>
{renderIndexes()}