From 2535ce7a7d7b0eace1b30b885e9b3ff82deb5cdd Mon Sep 17 00:00:00 2001 From: qiang Date: Tue, 2 Feb 2021 15:29:36 +0800 Subject: [PATCH] =?UTF-8?q?fix(App):=20=E4=BF=AE=E5=A4=8D=20nvue=20?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=B8=AD=20border-color=20=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=20rgb=20=E7=B1=BB=E5=9E=8B=E6=97=B6=E8=A7=A3=E6=9E=90=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98=20question/116746?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../packages/weex-styler/lib/shorthand-parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vue-cli-plugin-hbuilderx/packages/weex-styler/lib/shorthand-parser.js b/packages/vue-cli-plugin-hbuilderx/packages/weex-styler/lib/shorthand-parser.js index c57c62335..b20f5aed0 100644 --- a/packages/vue-cli-plugin-hbuilderx/packages/weex-styler/lib/shorthand-parser.js +++ b/packages/vue-cli-plugin-hbuilderx/packages/weex-styler/lib/shorthand-parser.js @@ -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: -- GitLab