From 79f6b32151012bf0c917c08441aeff3d1253c56e Mon Sep 17 00:00:00 2001 From: zhaoguoqiang <849348323@qq.com> Date: Wed, 18 Aug 2021 15:55:43 +0800 Subject: [PATCH] 1 --- postcss.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/postcss.config.js b/postcss.config.js index 51da83b..ba96365 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -4,7 +4,8 @@ const unit = require('./src/config/translatedUnit_server'); module.exports = ({ file }) => { - const designWidth = file.dirname.includes(path.join('node_modules', 'vant')) ? 350 : 750; + // const designWidth = file.dirname.includes(path.join('node_modules', 'vant')) ? 350 : 750; + const designWidth = file.dirname.includes('node_modules/vant') ? 375 : 750; return { plugins: { autoprefixer: {},