未验证 提交 249161f4 编写于 作者: 葛亚芳 提交者: Gitee

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

Signed-off-by: N@ge-yafang <geyafang@huawei.com>
上级 033380a9
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册