1.项目使用的vue,在里面写了渐变色,打包之后渐变色失效。
解决方法,webkit内核前后加上这段代码
/*! autoprefixer: off */
background: -webkit-linear-gradient(top, #6f9fe7 0%, #3e4dda 100%) ;
/* autoprefixer: on */
background:-moz-linear-gradient(top, #6f9fe7 0%, #3e4dda 100%);
background:-o-linear-gradient(top, #6f9fe7 0%, #3e4dda 100%);
background:linear-gradient(top, #6f9fe7 0%, #3e4dda 100%);
2.element UI表格单元格偶尔会出现错位的问题,解决方法:
.el-table th.gutter{
display: table-cell!important;
}
.el-table colgroup.gutter{
display: table-cell!important;
}