element-ui图片标签的一个坑
相关源码
version: "2.13.0"
node_modules->element-ui->lib->element-ui.common.js文件L38219附近
导致的bug
页面上有图片上传按钮,点击上传图片之后发现页面无法向下滚动,body标签的溢出被隐藏,看不到页面底部的内容。
解决方法
- el-image的父级元素阻止事件冒泡
- 不使用el-image标签
- element-ui 降版至2.10以下
element-ui图片标签的一个坑
相关源码
version: "2.13.0"
node_modules->element-ui->lib->element-ui.common.js文件L38219附近
导致的bug
页面上有图片上传按钮,点击上传图片之后发现页面无法向下滚动,body标签的溢出被隐藏,看不到页面底部的内容。
解决方法
上一篇:微信账户体系扫盲
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M