丶且听风吟8
丶且听风吟8
  • 发布:2023-09-08 23:17
  • 更新:2023-09-08 23:17
  • 阅读:273

Expecting end of input, "RPAREN", "ADD", "SUB", "MUL", "DIV", got unexpected "UNKNOWN_DIMENSION"

分类:uni-app

Expecting end of input, "RPAREN", "ADD", "SUB", "MUL", "DIV", got unexpected "UNKNOWN_DIMENSION"

  • 警告信息如上
  • vue2 ,我使用 npx @dcloudio/uvm@latest 更新过,应该是当前最新的环境了;
pageStatic/statement/index.wxss from Css Minimizer plugin  
postcss-calc: ..\pageStatic\statement\index.wxss:76:3: Parse error on line 1:  
50% - 13.46rpx  
--------^  
Expecting end of input, "RPAREN", "ADD", "SUB", "MUL", "DIV", got unexpected "UNKNOWN_DIMENSION"
  • 是 vue 文件中的
top: calc(50% - 13.46rpx);
  • 有搜索一下,但是,没看明白, 社区有懂的兄弟讲解一下!(搜索到的 issue 如下)
# Parse error with CSS custom properties with default values including a nested calc #77  
https://github.com/postcss/postcss-calc/issues/77  

# Expecting end of input, "ADD", "SUB", "MUL", "DIV", got unexpected "RPAREN" #1816  
https://github.com/sampotts/plyr/issues/1816
2023-09-08 23:17 负责人:无 分享
已邀请:

要回复问题请先登录注册