feat: 新30号准则适配 — 三表完善+认证头修复+企业联动
This commit is contained in:
@@ -104,7 +104,7 @@ import axios from 'axios'
|
||||
const api = axios.create({ baseURL: '/api/cma', timeout: 30000 })
|
||||
api.interceptors.request.use((config: any) => {
|
||||
const token = localStorage.getItem('cma_token')
|
||||
if (token) config.headers.Authorization = `'Bearer ' + token`
|
||||
if (token) config.headers.Authorization = `Bearer ${token}`
|
||||
return config
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user