From 249161f48e29d8ada76da94e07b63df1225a7111 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=9B=E4=BA=9A=E8=8A=B3?= Date: Mon, 18 Apr 2022 09:00:10 +0000 Subject: [PATCH] update en/application-dev/quick-start/start-with-ets.md. Signed-off-by: @ge-yafang --- en/application-dev/quick-start/start-with-ets.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/application-dev/quick-start/start-with-ets.md b/en/application-dev/quick-start/start-with-ets.md index 792fb818ba..4b1b29d0bc 100644 --- a/en/application-dev/quick-start/start-with-ets.md +++ b/en/application-dev/quick-start/start-with-ets.md @@ -153,7 +153,7 @@ You can implement page redirection through the page router, which finds the targ ``` - import router from '@system.router'; + import router from '@ohos.router'; @Entry @Component @@ -181,7 +181,7 @@ You can implement page redirection through the page router, which finds the targ .height('5%') // Bind the onClick event to the Next button so that clicking the button redirects the user to the second page. .onClick(() => { - router.push({ uri: 'pages/second' }) + router.push({ url: 'pages/second' }) }) } .width('100%') @@ -196,7 +196,7 @@ You can implement page redirection through the page router, which finds the targ ``` - import router from '@system.router'; + import router from '@ohos.router'; @Entry @Component -- GitLab