Closed weijunext closed 1 year ago
点击图片查看大图时,如果父组件存在点击事件或路由跳转,会同时触发查看和父组件的事件,增加preventDefault以支持要阻止父组件事件的场景。
The latest updates on your projects. Learn more about Vercel for Git ↗︎
点击图片查看大图时,如果父组件存在点击事件或路由跳转,会同时触发查看和父组件的事件,增加preventDefault以支持要阻止父组件事件的场景。