在uniapp中,为啥我获取到的data中form对象数据的格式不太对,和正常的对象数据不太一样,需要怎么转换啊?
methods: {
login:async function(){
const form = this.form
let obj = {
name:'aaa',
age:12
}
console.log('1111',form);
console.log('2222',obj);
// const data = await request({url:'/login/post',method:'post',data:this.form})
// console.log('data',data);
},
},