用element ui的 el-cascader 选择的时候都会报这样一个错
Blocked aria-hidden on an element because its descendant retained focus. The focus must not be hidden from assistive technology users. Avoid using aria-hidden on a focused element or its ancestor. Consider using the inert attribute instead, which will also prevent focus. For more details, see the aria-hidden section of the WAI-ARIA specification at https://w3c.github.io/aria/#aria-hidden.
Element with focus: input
Ancestor with aria-hidden: <input type="radio" aria-hidden="true" tabindex="-1" autocomplete="off" class="el-radio__original" value="1,22">
不知道什么原因 但是解决办法如下:
在App.vue里添加样式
input[aria-hidden=true] {
display: none !important;
}
即可解决