未验证 提交 741a2705 编写于 作者: O openharmony_ci 提交者: Gitee

!23226 【轻量级 PR】:update zh-cn/application-dev/ui/arkts-routing.md.

Merge pull request !23226 from 田雨/N/A
...@@ -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.
先完成此消息的编辑!
想要评论请 注册