提交 c69a7d16 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

test: 补充注释

上级 a4728838
...@@ -73,8 +73,7 @@ describe('component-lifecycle', () => { ...@@ -73,8 +73,7 @@ describe('component-lifecycle', () => {
page = await program.navigateTo(HOME_PATH) page = await program.navigateTo(HOME_PATH)
await page.waitFor('view') await page.waitFor('view')
lifeCycleNum = await page.callMethod('getLifeCycleNum') lifeCycleNum = await page.callMethod('getLifeCycleNum')
// TODO: ios 跳转页面, 未触发 keep-alive 组件 onDeactivated,返回未触发 onActivated // App 端页面离开返回不触发 keepAlive 组件 activated deactivated, 详见 https://issues.dcloud.net.cn/pages/issues/detail?id=7419
// TODO: android 跳转页面, 未触发 keep-alive 组件 onDeactivated,返回未触发 onActivated
expect(lifeCycleNum).toBe(isIos || isAndroid ? -10 : -11) expect(lifeCycleNum).toBe(isIos || isAndroid ? -10 : -11)
page = await program.navigateBack() page = await program.navigateBack()
await page.waitFor('view') await page.waitFor('view')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册