标签属性类型修改

This commit is contained in:
caoyang
2022-03-30 23:32:35 +08:00
parent 18ef7be8d8
commit ccc91f4508
4 changed files with 39 additions and 32 deletions
@@ -551,16 +551,16 @@
async () => {
axios({
url: '/jero-boot/split/sarFileSplitMenu/copyMenuNotChildren',
method: 'post',
data: params,
transformRequest: [function (data) {
// Do whatever you want to transform the data
let ret = ''
for (let it in data) {
ret += encodeURIComponent(it) + '=' + encodeURIComponent(data[it]) + '&'
}
return ret
}],
method: 'get',
params: params,
// transformRequest: [function (data) {
// // Do whatever you want to transform the data
// let ret = ''
// for (let it in data) {
// ret += encodeURIComponent(it) + '=' + encodeURIComponent(data[it]) + '&'
// }
// return ret
// }],
headers: {
// 'Content-Type': 'application/x-www-form-urlencoded',
'X-Access-Token':this.token