标签属性类型修改
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user