From 93bcf0923d517eac6789974abbdd68a31512b14e Mon Sep 17 00:00:00 2001
From: zhenyuWang <13641039885@163.com>
Date: Wed, 19 Jul 2023 21:55:33 +0800
Subject: [PATCH] wip(api): getApp
---
pages/API/get-app/get-app.test.js | 2 +-
pages/API/get-app/get-app.uvue | 11 ++++-------
pages/tabBar/API.uvue | 3 ++-
3 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/pages/API/get-app/get-app.test.js b/pages/API/get-app/get-app.test.js
index adf326f6..b6e9da81 100644
--- a/pages/API/get-app/get-app.test.js
+++ b/pages/API/get-app/get-app.test.js
@@ -4,7 +4,7 @@ describe('getApp', () => {
it('getApp', async () => {
const page = await program.navigateTo(PAGE_PATH)
await page.waitFor(1000)
- await page.callMethod('getApp')
+ 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
index beb41483..f7bd41fa 100644
--- a/pages/API/get-app/get-app.uvue
+++ b/pages/API/get-app/get-app.uvue
@@ -1,7 +1,7 @@
-
+