From cc0395d0efc8c0fefe91dbd1c2899fd7c7b068c3 Mon Sep 17 00:00:00 2001 From: xg <490599161@qq.com> Date: Wed, 9 Sep 2020 12:41:51 +0800 Subject: [PATCH] fix css value missing --- wuWxss.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wuWxss.js b/wuWxss.js index 782f907..fe7e2cf 100644 --- a/wuWxss.js +++ b/wuWxss.js @@ -71,6 +71,10 @@ function doWxss(dir, cb, mainDir, nowDir) { if (content != '1') { fileStyle += content } + } else { + if (content.length != 1) { + fileStyle += content[1] + 'rpx' + } } } }