in jQuery ajax, why does the this under the data attribute point to my vue instance? As follows:
//vue
data(){
return{
name:"test",
age:18,
}
}
//ajax
methods:{
getData(){
$.ajax({
url:"test.php",
type:"post",
data:{
"name":this.name,
"age":this.age,
}
})
}
}