problem description
Open the page and report an error, and the page is still stuck
vue.min.js:6 TypeError: Cannot read property "pageNo" of undefined
at nt.created (list.js:152)
at fe (vue.min.js:6)
at nt.e._init (vue.min.js:7)
at new nt (vue.min.js:6)
at list.js:1
the environmental background of the problems and what methods you have tried
iveiw3
related codes
/ / Please paste the code text below (do not replace the code with pictures)
<Page :total="total" :current="pageNo" :page-size="pageSize" show-sizer show-total @on-change="changePage" @on-page-size-change="changePageSize"/>
data: {
.......
query:"",
pageNo:1,
pageSize:10,
total:0
}
created:function(){
$.ajax({
url: ...
method:"POST",
type:"json",
data:{
pageNo:app.pageNo,
pageSize:app.pageSize,
query:""
},
success:function (data) {
......
console.log(data);
}
})
}
what result do you expect? What is the error message actually seen?
what"s wrong with this report?