axios如何設(shè)置請求頭 axios自定義請求頭
~!axios.創(chuàng)建({baseURL:”https://some-domain.com/api/"超時:1000,標題:{“x-auth-token”:“Your token”})
~!axios.創(chuàng)建({baseURL:”https://some-domain.com/api/"超時:1000,標題:{“x-auth-token”:“Your token”})
~!axios.創(chuàng)建({baseURL:”https://some-domain.com/api/"超時:1000,標題:{“x-auth-token”:“Your token”})
~!axios.創(chuàng)建({baseURL:”https://some-domain.com/api/"超時:1000,標題:{“x-auth-token”:“Your token”})