摘要: 1.前端发送请求 前端发送请求时有一个全局拦截器,拦截所有请求并配置 Authorization 头部信息,配置token,一共给后台鉴权 // 请求拦截器 service.interceptors.request.use( config => { if (!permission.access(co 阅读全文
posted @ 2023-12-11 22:57 Acegzx 阅读(69) 评论(0) 推荐(0)