From c69a7d16723fc3b75f66c3fa78237cd8ea28e5ac Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Fri, 20 Sep 2024 10:43:39 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E8=A1=A5=E5=85=85=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/lifecycle/component/component-composition.test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/lifecycle/component/component-composition.test.js b/pages/lifecycle/component/component-composition.test.js index d6059e2..66589b3 100644 --- a/pages/lifecycle/component/component-composition.test.js +++ b/pages/lifecycle/component/component-composition.test.js @@ -73,8 +73,7 @@ describe('component-lifecycle', () => { page = await program.navigateTo(HOME_PATH) await page.waitFor('view') lifeCycleNum = await page.callMethod('getLifeCycleNum') - // TODO: ios 跳转页面, 未触发 keep-alive 组件 onDeactivated,返回未触发 onActivated - // TODO: android 跳转页面, 未触发 keep-alive 组件 onDeactivated,返回未触发 onActivated + // App 端页面离开返回不触发 keepAlive 组件 activated deactivated, 详见 https://issues.dcloud.net.cn/pages/issues/detail?id=7419 expect(lifeCycleNum).toBe(isIos || isAndroid ? -10 : -11) page = await program.navigateBack() await page.waitFor('view') -- GitLab