From 318d8917cd956caa0051cad7e1048639a9108e94 Mon Sep 17 00:00:00 2001 From: Frost-ZX <30585462+Frost-ZX@users.noreply.github.com> Date: Sun, 7 Nov 2021 11:52:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.js | 1 + postcss.config.js | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 8ab68ce..9d9fa93 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -18,6 +18,7 @@ module.exports = { 'vue/html-self-closing': 'off', 'vue/max-attributes-per-line': 'off', 'vue/multiline-html-element-content-newline': 'off', + 'vue/no-v-html': 'off', 'vue/singleline-html-element-content-newline': 'off' } }; diff --git a/postcss.config.js b/postcss.config.js index fdf0fe8..a54d237 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -7,8 +7,10 @@ module.exports = { ] }, 'postcss-pxtorem': { + mediaQuery: true, + propList: ['*'], rootValue: 16, - propList: ['*'] + unitPrecision: 3, } } };