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() { } +