From b788d783f7c35c3da21b1b01a7ab5b8eef79baa5 Mon Sep 17 00:00:00 2001 From: qiang Date: Sun, 29 Sep 2019 20:15:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E4=B8=8D=E5=B8=A6=20t?= =?UTF-8?q?abBar=20=E5=90=AF=E5=8A=A8=E7=99=BD=E5=B1=8F=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../webpack-uni-pages-loader/lib/platforms/app-plus/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/webpack-uni-pages-loader/lib/platforms/app-plus/index.js b/packages/webpack-uni-pages-loader/lib/platforms/app-plus/index.js index d5e51d9c4c..854345f8d2 100644 --- a/packages/webpack-uni-pages-loader/lib/platforms/app-plus/index.js +++ b/packages/webpack-uni-pages-loader/lib/platforms/app-plus/index.js @@ -363,6 +363,9 @@ module.exports = function (pagesJson, userManifestJson) { path: appJson.pages[0] } }) + } else if (isNVueEntryPage) { + // 非纯 nvue 项目首页为 nvue 页面 + manifestJson.plus.launchwebview.id = '2' } // 带 tab if (pagesJson.tabBar && pagesJson.tabBar.list && pagesJson.tabBar.list.length) { -- GitLab