1 2 3 4 5 6 7 8 9 10 11 12 13
|
axios.defaults.headers.post['Content-Type'] = 'application/json;charset=UTF-8' axios.defaults.timeout = 1000000000
let obj = { token : localStorage.getItem('token'), loginid : localStorage.getItem('loginid'), flag : localStorage.getItem('flag') } axios.defaults.headers.common['Authorization'] = JSON.stringify(obj)
|