diff --git a/pages.json b/pages.json
index c47e549427c09187d391760066e13cb375667208..73dab942d1955b36f0747e3671759ff5cdde39ab 100644
--- a/pages.json
+++ b/pages.json
@@ -147,6 +147,12 @@
"backgroundColor": "#F8F8F8"
}
},
+ {
+ "path": "pages/API/get-app/get-app",
+ "style": {
+ "navigationBarTitleText": "getApp"
+ }
+ },
{
"path": "pages/API/navigator/navigator",
"style": {
diff --git a/pages/API/get-app/get-app.test.js b/pages/API/get-app/get-app.test.js
new file mode 100644
index 0000000000000000000000000000000000000000..adf326f60bc0a57022855fd800f902caa87ea6fc
--- /dev/null
+++ b/pages/API/get-app/get-app.test.js
@@ -0,0 +1,11 @@
+const PAGE_PATH = '/pages/API/get-app/get-app'
+
+describe('getApp', () => {
+ it('getApp', async () => {
+ const page = await program.navigateTo(PAGE_PATH)
+ await page.waitFor(1000)
+ await page.callMethod('getApp')
+ const data = await page.data()
+ expect(data.checked).toBe(true)
+ })
+})
diff --git a/pages/API/get-app/get-app.uvue b/pages/API/get-app/get-app.uvue
new file mode 100644
index 0000000000000000000000000000000000000000..beb41483fda12bc875617176d74c8a67f35ea564
--- /dev/null
+++ b/pages/API/get-app/get-app.uvue
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
diff --git a/pages/API/navigator/new-page/new-page-1.uvue b/pages/API/navigator/new-page/new-page-1.uvue
index 07efc3fde0be54c35b88a1ecf7acb0b197807696..377703d2e44578f7dce9ea854175266351218ec0 100644
--- a/pages/API/navigator/new-page/new-page-1.uvue
+++ b/pages/API/navigator/new-page/new-page-1.uvue
@@ -1,5 +1,6 @@
+
onLoad 接收到参数
data: {{ data }}
diff --git a/pages/API/navigator/new-page/new-page-2.uvue b/pages/API/navigator/new-page/new-page-2.uvue
index 05b49e0f66e92d2d0b7c7cd7c64307bef31c79c2..cbfeaf98b391853ef810cd3ff6c0b33816503cc5 100644
--- a/pages/API/navigator/new-page/new-page-2.uvue
+++ b/pages/API/navigator/new-page/new-page-2.uvue
@@ -1,5 +1,6 @@
+
diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue
index 78761ea2fe18779b30da45199901d9d7e1e6576f..ce6af2e5b5b83a2aec02e2ee833f5f373ddca6f5 100644
--- a/pages/tabBar/API.uvue
+++ b/pages/tabBar/API.uvue
@@ -50,8 +50,7 @@
pages: [
{
name: "getApp",
- url: "getApp",
- enable: false
+ url: "get-app",
},
{
name: "事件总线event-bus",