招租列表的下拉刷新,筛选条件置空

This commit is contained in:
wangzimeng 2025-08-08 18:19:54 +08:00
parent bdf089d7e2
commit cecff6bd8e

View File

@ -283,7 +283,12 @@
// //
function onS() { function onS() {
homrS.value = true homrS.value = true
listQuery.value.keywords = '' listQuery.value.keywords = '';
listQuery.value.cate_ids = '';
listQuery.value.province = '';
state.model.city_name = '';
listQuery.value.city = '';
uni.showLoading({ uni.showLoading({
title: '加载中...' title: '加载中...'
}); });
@ -297,6 +302,8 @@
} }
// //
function resetLists() { function resetLists() {
// listQuery.value.keywords = ''
console.log('listQuery.value.keywords',listQuery.value.keywords);
listQuery.value.page = 1; listQuery.value.page = 1;
rentList.value = []; rentList.value = [];
getList(); getList();