fix: refresh VM data from user goods detail
This commit is contained in:
@@ -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() }
|
||||
|
||||
Reference in New Issue
Block a user