This commit is contained in:
GaoHao
2025-03-10 17:26:39 +08:00
parent 490c513f48
commit cc97b6acca
26 changed files with 258 additions and 305 deletions

View File

@@ -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()
}