提交 ecf4775f 编写于 作者: Q qiang

fix(App): 设置 nvueStyleCompiler 缺省配置为 weex

上级 ffc7279c
...@@ -243,8 +243,10 @@ if (isNVueCompiler) { ...@@ -243,8 +243,10 @@ if (isNVueCompiler) {
process.env.UNI_USING_NVUE_COMPILER = true process.env.UNI_USING_NVUE_COMPILER = true
} }
if (platformOptions.nvueStyleCompiler !== 'weex') { if (platformOptions.nvueStyleCompiler === 'uni-app') {
process.env.UNI_USING_NVUE_STYLE_COMPILER = true process.env.UNI_USING_NVUE_STYLE_COMPILER = true
} else {
platformOptions.nvueStyleCompiler = 'weex'
} }
if (platformOptions.usingComponents === true) { if (platformOptions.usingComponents === true) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册