axios 设置header信息. 以下方法是在vue-cli 中使用,this指vue this.axios.post(`${API_HOST}/api/auth/login`, obj, { headers: { 'Content-Type': ...
確定! 回上一頁