feat: 添加登录和获取用户信息接口,整合pinia实现用户状态全局共享

This commit is contained in:
ray
2024-09-23 08:29:44 +08:00
parent f106f84646
commit 737f6a3ee5
21 changed files with 6997 additions and 5061 deletions

View File

@@ -13,10 +13,16 @@
}
},
{
"path": "pages/my/index",
"path": "pages/profile/index",
"style": {
"navigationBarTitleText": "我的"
}
},
{
"path": "pages/login/index",
"style": {
"navigationBarTitleText": "登录"
}
}
],
"globalStyle": {
@@ -43,7 +49,7 @@
"selectedIconPath": "static/tabbar/workbench-active.png"
},
{
"pagePath": "pages/my/index",
"pagePath": "pages/profile/index",
"text": "我的",
"iconPath": "static/tabbar/my.png",
"selectedIconPath": "static/tabbar/my-active.png"