未验证 提交 cc6a65df 编写于 作者: 田雨 提交者: Gitee

update zh-cn/application-dev/ui/arkts-routing.md.

Signed-off-by: N田雨 <tianyu55@huawei.com>
上级 6b0232cb
...@@ -354,7 +354,7 @@ struct MyComponent { ...@@ -354,7 +354,7 @@ struct MyComponent {
```ts ```ts
// entry/src/main/ets/pages/Index.ets // entry/src/main/ets/pages/Index.ets
import router from '@ohos.router'; import router from '@ohos.router';
import 'library/src/main/ets/pages/Index.ets' // 引入共享包library中的命名路由页面 import 'library/src/main/ets/pages/Index' // 引入共享包library中的命名路由页面
@Entry @Entry
@Component @Component
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册