less报错 - Error evaluating function `unit`: the first argument to unit must be a number.
在这里记录一下less样式文件使用unit方法的时候报错问题的解决方法:Error evaluating functionunit: the first argument to unit must be a number. Have you forgotten parenthesis?ps:这个之前使用是可以的,就是最近这个月用的时候突然报了这样的错误。报错:ps:这里是将变量 px2rem 统一放到了px2rem.less文件里面的。px2rem.less文件引用到的文件这里引入使用时