提交 b788411b 编写于 作者: Q qiang

fix: 解决纯 vue 项目配置 condition 报错的问题

上级 ddec7039
......@@ -372,7 +372,7 @@ module.exports = function (pagesJson, userManifestJson) {
let isNVueEntryPage = appJson.nvue && appJson.nvue.entryPagePath
conditionPagePath = process.env.UNI_CLI_LAUNCH_PAGE_PATH || conditionPagePath
if (conditionPagePath) {
if (conditionPagePath && appJson.nvue) {
isNVueEntryPage = `${conditionPagePath}.html` in appJson.nvue.pages
}
manifestJson.plus.useragent.value = 'uni-app'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册