fix: refresh VM data from user goods detail
Build and Deploy Vue3 / build (push) Successful in 1m29s
Build and Deploy Vue3 / deploy (push) Successful in 54s

This commit is contained in:
shiran
2026-08-04 17:20:14 +08:00
parent 6d47314a9a
commit 1df8f0b464
2 changed files with 22 additions and 3 deletions
+2
View File
@@ -1385,6 +1385,8 @@ const loadDetail = async () => {
} catch (e) { ElMessage.error(extractApiError(e?.response?.data, '加载失败')) } finally { loading.value = false }
}
defineExpose({ refresh: loadDetail })
const handleTabChange = (tab) => {
if (tab === 'snapshot') { loadSnapshots(); loadSnapshotQuota() }
if (tab === 'backup') { loadBackups(); loadBackupQuota() }