This commit is contained in:
hptangxi
2025-07-07 09:58:45 +08:00
parent 0f85381082
commit 639fdd413f
8 changed files with 66 additions and 43 deletions

View File

@@ -49,7 +49,7 @@ watch(
);
async function loadStats() {
if (!props.group) {
if (!props.group?.id) {
stats.value = null;
return;
}
@@ -57,7 +57,7 @@ async function loadStats() {
try {
loading.value = true;
if (props.group?.id) {
stats.value = await keysApi.getGroupStats(props.group.id);
stats.value = await keysApi.getGroupStats();
}
} finally {
loading.value = false;