From a967620e17d56bbcf49e19e273181a64757ba65e Mon Sep 17 00:00:00 2001
From: jiangx <1457960500@qq.com>
Date: Tue, 30 May 2023 17:24:03 +0800
Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=8E=A8=20=E6=B7=BB=E5=8A=A0?=
=?UTF-8?q?=E5=9C=B0=E5=9B=BE=E9=BB=98=E8=AE=A4=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
postcss.config.js | 2 +-
src/components/Map/Map.vue | 10 ++++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/postcss.config.js b/postcss.config.js
index 8d474ce..cfd3e22 100644
--- a/postcss.config.js
+++ b/postcss.config.js
@@ -9,7 +9,7 @@ module.exports = {
viewportUnit: 'vw', // 指定需要转换成的视窗单位,默认vw
fontViewportUnit: 'vw', // 指定字体需要转换成的视窗单位,默认vw
selectorBlackList: ['not-vw'], // 指定不转换为视窗单位的类名,
- minPixelValue: 0, // 默认值1,小于或等于1px则不进行转换
+ minPixelValue: 1, // 默认值1,小于或等于1px则不进行转换
mediaQuery: true, // 是否在媒体查询的css代码中也进行转换,默认false
replace: true, // 是否转换后直接更换属性值
exclude: [/node_modules/], // 设置忽略文件,用正则做目录名匹配
diff --git a/src/components/Map/Map.vue b/src/components/Map/Map.vue
index 3b9294b..7155c9b 100644
--- a/src/components/Map/Map.vue
+++ b/src/components/Map/Map.vue
@@ -37,6 +37,16 @@ function handleDetail() {
}
+