diff --git a/en/application-dev/quick-start/start-with-ets.md b/en/application-dev/quick-start/start-with-ets.md index 792fb818ba2ca78cd3fa9e6acb111b89bf18a90c..4b1b29d0bcd6667010e19e3d6943f66fd6eb143f 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