edge
Vant 版本2.12.22
Vue 版本2.6.10
重现链接使用到插件postcss-pxtorem,不知道怎么添加
描述问题如图所示 蓝色区域是swipe-item生成的区域,是图片的两倍大正好,因此我猜测和postcss-pxtorem有关,放上我的配置: module.exports = { plugins: { // postcss-pxtorem 插件的版本需要 >= 5.0.0 'postcss-pxtorem': { rootValue({ file }) { return file.indexOf('vant') !== -1 || file.indexOf('dplayer') !== -1 ? 37.5 : 75 }, propList: ['*'], replace: true, remUnit: 37.5, }, 'postcss-cssnext': {}, }, }