This commit is contained in:
user 2025-03-14 11:23:44 +08:00
parent fc27201109
commit c0f95a0485
2 changed files with 4 additions and 7 deletions

5
package-lock.json generated
View File

@ -24,7 +24,6 @@
"bootswatch": "4.6.2",
"dayjs": "1.11.13",
"deepmerge": "4.3.1",
"jewpms": "file:",
"pinia": "2.3.1",
"print-js": "^1.6.0",
"qrcode.vue": "^3.6.0",
@ -8274,10 +8273,6 @@
"lodash": "4.17.21"
}
},
"node_modules/jewpms": {
"resolved": "",
"link": true
},
"node_modules/joi": {
"version": "17.13.3",
"resolved": "https://registry.npmmirror.com/joi/-/joi-17.13.3.tgz",

View File

@ -80,8 +80,10 @@ export default defineComponent({
},
];
const handleFilter = () => {
showFilter.value = !showFilter.value;
const handleFilter = (toggleFilter = true) => {
if (toggleFilter) {
showFilter.value = !showFilter.value;
}
page.value = 1; // 重置页码
handleSyncList();
};