设置 headers content-type 不管用
export const SetPrint = (printname) => { // 检查打印插件是否安装
return request({
headers: {
"Content-Type": "application/x-www-form-urlencoded",
},
url: '/print/PRINT/SetPrint',
method: 'post',
printname:printname
})
}
扫一扫访问 Blade技术社区 移动端