put请求可以传对象
let amount= {
expenseAccountId:this.id,
dressBaseList:[{
purchasePrice:this.changeReimbursement,
sampleDressId:params.row.sampleDressId
}]
post或get请求必须转换为字符串类型
let amount= {
expenseAccountId:this.id,
dressBaseList:[{
purchasePrice:this.changeReimbursement,
sampleDressId:params.row.sampleDressId
}]
let data=JSON.stringify(amount)
原文地址:https://www.cnblogs.com/wssdx/p/11202494.html
时间: 2024-10-09 08:13:20