提交 ae6acff6 编写于 作者: fxy060608's avatar fxy060608

fix(v3): renderer='native'

上级 38f36d58
......@@ -268,7 +268,10 @@ module.exports = function (pagesJson, userManifestJson) {
appJson.nvueCompiler = 'weex'
}
if (manifestJson.plus.renderer === 'native') {
if (
manifestJson.plus.renderer === 'native' &&
!process.env.UNI_USING_V3_NATIVE // v3+native时,renderer为'auto'
) {
appJson.renderer = 'native'
} else {
appJson.renderer = 'auto'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册