更新
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
})
|
||||
onShow(init)
|
||||
onPullDownRefresh(()=>{
|
||||
pageData.page = 1
|
||||
pageData.query.page = 1
|
||||
init()
|
||||
})
|
||||
watch(()=>pageData.createdAt,(newval)=>{
|
||||
@@ -107,7 +107,8 @@
|
||||
* @param {Object} e
|
||||
*/
|
||||
function pageChange(e){
|
||||
pageData.page = e
|
||||
pageData.query.page = e
|
||||
console.log(e)
|
||||
init()
|
||||
}
|
||||
|
||||
@@ -118,7 +119,7 @@
|
||||
*/
|
||||
function updateQuery(key,e){
|
||||
pageData.query[key] = e
|
||||
pageData.page = 1
|
||||
pageData.query.page = 1
|
||||
init()
|
||||
}
|
||||
|
||||
@@ -126,7 +127,7 @@
|
||||
* 搜索监听
|
||||
*/
|
||||
function searchConfirm(){
|
||||
pageData.page = 1
|
||||
pageData.query.page = 1
|
||||
init()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user