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

update zh-cn/application-dev/quick-start/start-with-ets.md.

Signed-off-by: N@ge-yafang <geyafang@huawei.com>
上级 3a1bb090
......@@ -155,7 +155,7 @@
```
import router from '@system.router';
import router from '@ohos.router';
@Entry
@Component
......@@ -183,7 +183,7 @@
.height('5%')
// 跳转按钮绑定onClick事件,点击时跳转到第二页
.onClick(() => {
router.push({ uri: 'pages/second' })
router.push({ url: 'pages/second' })
})
}
.width('100%')
......@@ -198,7 +198,7 @@
```
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.
先完成此消息的编辑!
想要评论请 注册