Skip to content

Commit 898f19b

Browse files
committed
docs(readme): 更新路由示例组件名称
- 将 UserLayout 组件改为 UserList 组件 - 在 README.md 和 README.zh-CN.md 中进行了相同修改
1 parent e02c2d8 commit 898f19b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const routes: RouteRecordRaw[] = [
126126
children: [
127127
{
128128
path: 'user',
129-
component: UserLayout,
129+
component: UserList,
130130
children: [
131131
{
132132
path: 'detail/:id?',

README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const routes: RouteRecordRaw[] = [
126126
children: [
127127
{
128128
path: 'user',
129-
component: UserLayout,
129+
component: UserList,
130130
children: [
131131
{
132132
path: 'detail/:id?',

0 commit comments

Comments
 (0)