提交 9fd00a93 编写于 作者: Q qiang

fix: 修复部分平台使用 css var 编译报错的问题

上级 e408d001
......@@ -92,7 +92,7 @@ module.exports = {
return uniPluginOptions.vue || '@dcloudio/vue-cli-plugin-uni/packages/mp-vue'
},
getPlatformCssVars () {
return uniPluginOptions.cssVars
return uniPluginOptions.cssVars || {}
},
getPlatformCssnano () {
return {
......@@ -134,4 +134,4 @@ module.exports = {
]
}
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册