在火狐浏览器下出现了这个问题,ellement ui 的分页出现了红色边框的问题,在百度之后解决了这个问题
input,
textarea,
select {
/* appearance: none !important; */
-moz-appearance: none !important;
outline: none !important;
-moz-outline: none !important;
box-shadow: none !important;
-moz-box-shadow: none !important;
}
原因是:如果一个表单控件具有required属性,在火狐浏览器下就会出现这个现象 在此借鉴了 wendycwb 的博客 https://blog.csdn.net/sinat_41200024/article/details/89712093