problem description
it is found that in vue instances, data can be written in the following two ways:
//
data(){
return{
limit:3,
...
}
}
//
data:{
limit:3,
...
}
what is the difference between the two methods