设置请求头标准写法
const config = {
headers: {
adminSign:'admin'
}
};
that.axios.get(dataUrl + "myadmin/info",config).then(res => {
console.log(res, "首页表格成功");
that.artistNum = res
设置请求头标准写法
const config = {
headers: {
adminSign:'admin'
}
};
that.axios.get(dataUrl + "myadmin/info",config).then(res => {
console.log(res, "首页表格成功");
that.artistNum = res