提交 2535ce7a 编写于 作者: Q qiang

fix(App): 修复 nvue 页面中 border-color 使用 rgb 类型时解析报错的问题 question/116746

上级 6924630d
......@@ -76,7 +76,7 @@ function borderProperty (declaration) {
var { value, important } = clearImportant(declaration.value)
var position = declaration.position
var property = declaration.property.split('-')[1]
var splitResult = value.split(/\s+/)
var splitResult = value.replace(/\s*,\s*/g, ',').split(/\s+/)
var result = []
switch (splitResult.length) {
case 1:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册