未验证 提交 033380a9 编写于 作者: 葛亚芳 提交者: Gitee

update en/application-dev/quick-start/start-with-ets-low-code.md.

Signed-off-by: N@ge-yafang <geyafang@huawei.com>
上级 4ecba0dc
...@@ -118,7 +118,7 @@ You can implement page redirection through the page router, which finds the targ ...@@ -118,7 +118,7 @@ You can implement page redirection through the page router, which finds the targ
- In the **index.ets** file: - In the **index.ets** file:
``` ```
import router from '@system.router'; import router from '@ohos.router';
@Entry @Entry
@Component @Component
...@@ -131,7 +131,7 @@ You can implement page redirection through the page router, which finds the targ ...@@ -131,7 +131,7 @@ You can implement page redirection through the page router, which finds the targ
*/ */
onclick() { onclick() {
router.push({ router.push({
uri: 'pages/second', // Specify the page to be redirected to. url: 'pages/second', // Specify the page to be redirected to.
}) })
} }
...@@ -149,7 +149,7 @@ You can implement page redirection through the page router, which finds the targ ...@@ -149,7 +149,7 @@ You can implement page redirection through the page router, which finds the targ
- In the **second.ets** file: - In the **second.ets** file:
``` ```
import router from '@system.router'; import router from '@ohos.router';
@Entry @Entry
@Component @Component
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册