diff --git a/pages.json b/pages.json index c9e13511eadb9f24433118cd679059b99f452f28..b355c3497b409d5727e428467f356b39f8b2dd25 100644 --- a/pages.json +++ b/pages.json @@ -131,6 +131,12 @@ "style": { "navigationBarTitleText": "消息提示框" } + }, + { + "path": "pages/API/quitApp/quitApp", + "style": { + "navigationBarTitleText": "退出应用" + } } ], "globalStyle": { diff --git a/pages/API/quitApp/quitApp.uvue b/pages/API/quitApp/quitApp.uvue new file mode 100644 index 0000000000000000000000000000000000000000..e2db75d78e369f2bbff58333ea2bfb01eee141ed --- /dev/null +++ b/pages/API/quitApp/quitApp.uvue @@ -0,0 +1,26 @@ + + \ No newline at end of file diff --git a/pages/tabBar/API/API.uvue b/pages/tabBar/API/API.uvue index 43e4544a63f6d706bf61ecdb4d079d583bc777c8..52bffe048a74ee4f2bf2674755a9d251bbc18faa 100644 --- a/pages/tabBar/API/API.uvue +++ b/pages/tabBar/API/API.uvue @@ -197,6 +197,13 @@ url: "/platforms/app-plus/orientation/orientation", }, //#endif + //#ifdef APP-ANDROID + { + name: "退出应用", + url: "quitApp", + enable: true + } + //#endif ] as Page[], }, {