2.15.14
2
2.7.14
https://elementui.github.io/issue-generator/#/zh-CN
直接引入到页面就会卡死
能正常选择
jgzswidk1#
这么改试试
<el-cascader @visible-change="fix">const fix=()=>{nextTick(() => {const el = document.querySelectorAll('.el-cascader-panel .el-cascader-node[aria-owns]');Array.from(el).map(item => item.removeAttribute("aria-owns"));})}
1条答案
按热度按时间jgzswidk1#
这么改试试
<el-cascader @visible-change="fix">
const fix=()=>{
nextTick(() => {
const el = document.querySelectorAll('.el-cascader-panel .el-cascader-node[aria-owns]');
Array.from(el).map(item => item.removeAttribute("aria-owns"));
})
}