🐛 调整判断条件

This commit is contained in:
BTMuli
2025-12-20 16:10:51 +08:00
parent 488862e3dd
commit 3ee1e63a63

View File

@@ -136,7 +136,7 @@ watch(
async function searchPosts(): Promise<void> {
if (load.value || !search.value) return;
load.value = true;
if (!props.gid || !props.keyword) {
if (!props.gid) {
showSnackbar.warn("参数错误");
load.value = false;
return;