4 11路由

 

 

 pinia使用原因:登录成功后,token在login.vue中,其他组件无法跨组件获取token

 axios请求拦截器:

 

 

 

 

posted @ 2024-04-12 01:01  你好,幸会  阅读(4)  评论(0编辑  收藏  举报