Element 中el-calendar取消点击事件
Element中的日历组件默认是有一个点击事件的,点击某一天,当前日历的日期会动态发生变化,相当于是在有限的表格内通过点击事件显示更多的日期,但是有时候我们并不想要这个点击事件,为了方便进行对比分析,想直接展示多个月的数据,那该怎么做呢?直接在日历组件上加上如下设置,就可以取消点击事件了。
style="pointer-events:none"
以下是代码示例:
相关内容
- AI 生成的图片 – NSFW – 扶她向
- Step by Step Deploy Guacamole with MySQL DB (Native Installation from Command Line)
- [5 Min Docker] Deploy Qinglong Panel – A scheduling task management panel into Cloud
- CyberArk Tips and Tricks
- RDS Installation on Windows 2025 Server (All in One Quick Deployment)
- 李宗瑞29.73G终极完整版本 mp4无失真压縮版5.73
共有 0 条评论