feat(用户认证): 实现基于角色的页面跳转和登录状态检查
- 在App.vue中添加登录状态检查和用户信息获取 - 修改index.vue实现根据用户角色跳转到不同页面 - 更新pages.json调整底部导航栏和页面配置 - 优化user.js中的用户信息存储逻辑
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
getDicts('easycode_type').then(res => {
|
||||
getDicts('action_type').then(res => {
|
||||
this.types = res.data
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user