From 625eb050187eb9cf67273c3d495c386dbc396e88 Mon Sep 17 00:00:00 2001 From: hdx Date: Mon, 6 May 2024 16:28:48 +0800 Subject: [PATCH] =?UTF-8?q?navigator:=20=E8=87=AA=E5=8A=A8=E5=8C=96?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E4=BD=BF=E7=94=A8id=E4=BD=9C=E4=B8=BA?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=85=83=E7=B4=A0=E7=9A=84=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/navigator/navigator.test.js | 4 ++-- pages/component/navigator/navigator.uvue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/component/navigator/navigator.test.js b/pages/component/navigator/navigator.test.js index 6e68aba0..6f0c9cb4 100644 --- a/pages/component/navigator/navigator.test.js +++ b/pages/component/navigator/navigator.test.js @@ -15,7 +15,7 @@ describe('navigator', () => { page = await program.reLaunch(PAGE_PATH) await page.waitFor(500) - const btnNavigate = await page.$('.navigate') + const btnNavigate = await page.$('#navigate') await btnNavigate.tap() await page.waitFor(300) @@ -26,7 +26,7 @@ describe('navigator', () => { page = await program.reLaunch(PAGE_PATH) await page.waitFor(500) - const btnRedirect = await page.$('.redirect') + const btnRedirect = await page.$('#redirect') await btnRedirect.tap() await page.waitFor(300) diff --git a/pages/component/navigator/navigator.uvue b/pages/component/navigator/navigator.uvue index 023f90a4..2099b1b1 100644 --- a/pages/component/navigator/navigator.uvue +++ b/pages/component/navigator/navigator.uvue @@ -1,10 +1,10 @@