Skip to content

Commit

Permalink
perf: ♻️ 更新用户目录名称
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Mar 6, 2024
1 parent 5903e4a commit c2b7f5e
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ export default (router) => {
```js
// 使用名为 realname 的中间件
const pageConfig = {
path: '/pages/personal/index',
aliasPath: '/personal',
path: '/pages/user/index',
aliasPath: '/user',
meta: {
middleware: ['realname'],
},
Expand Down
10 changes: 5 additions & 5 deletions pages.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ export default defineUniPages({
},
},
{
path: 'pages/index/personal/index',
aliasPath: '/personal',
path: 'pages/index/user/index',
aliasPath: '/user',
style: {
navigationBarTitleText: '我的',
},
Expand Down Expand Up @@ -131,9 +131,9 @@ export default defineUniPages({
text: '示例',
},
{
iconPath: 'static/tabbar/personal.png',
selectedIconPath: 'static/tabbar/personal-active.png',
pagePath: 'pages/index/personal/index',
iconPath: 'static/tabbar/user.png',
selectedIconPath: 'static/tabbar/user-active.png',
pagePath: 'pages/index/user/index',
text: '我的',
},
],
Expand Down
10 changes: 5 additions & 5 deletions src/pages.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
}
},
{
"path": "pages/index/personal/index",
"aliasPath": "/personal",
"path": "pages/index/user/index",
"aliasPath": "/user",
"style": {
"navigationBarTitleText": "我的"
}
Expand Down Expand Up @@ -130,9 +130,9 @@
"text": "示例"
},
{
"iconPath": "static/tabbar/personal.png",
"selectedIconPath": "static/tabbar/personal-active.png",
"pagePath": "pages/index/personal/index",
"iconPath": "static/tabbar/user.png",
"selectedIconPath": "static/tabbar/user-active.png",
"pagePath": "pages/index/user/index",
"text": "我的"
}
]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes

0 comments on commit c2b7f5e

Please sign in to comment.