vue中怎樣添加自定義請求頭x?
axios.create({ baseURL:"https://some-domain.com/api/", timeout:1000, headers: {'x-auth-token':'Your token'}});
vue中怎樣添加自定義請求頭x?
axios.create({ baseURL:"https://some-domain.com/api/", timeout:1000, headers: {'x-auth-token':'Your token'}});