fix: reduce passive event warning of touchstart event (#10954)
This commit is contained in:
@@ -275,7 +275,7 @@ export default defineComponent({
|
||||
class={bem('sidebar')}
|
||||
style={sidebarStyle.value}
|
||||
onClick={onClickSidebar}
|
||||
onTouchstart={touch.start}
|
||||
onTouchstartPassive={touch.start}
|
||||
onTouchmove={onTouchMove}
|
||||
>
|
||||
{renderIndexes()}
|
||||
|
||||
Reference in New Issue
Block a user