feat: Add refresh after resource release in container overview (#11157)

This commit is contained in:
ssongliu 2025-12-02 17:29:41 +08:00 committed by GitHub
parent 656dda234c
commit 1f9a3aa51a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -189,7 +189,7 @@
</template>
</CardWithHeader>
</div>
<TaskLog ref="taskLogRef" width="70%" />
<TaskLog ref="taskLogRef" width="70%" @close="loadUsage" />
</div>
</template>
@ -265,15 +265,6 @@ const loadContainerCount = async () => {
countItem.networkCount = res.data.networkCount;
countItem.volumeCount = res.data.volumeCount;
countItem.repoCount = res.data.repoCount;
countItem.containerUsage = res.data.containerUsage;
countItem.containerReclaimable = res.data.containerReclaimable;
countItem.imageUsage = res.data.imageUsage;
countItem.imageReclaimable = res.data.imageReclaimable;
countItem.volumeUsage = res.data.volumeUsage;
countItem.volumeReclaimable = res.data.volumeReclaimable;
countItem.buildCacheUsage = res.data.buildCacheUsage;
countItem.buildCacheReclaimable = res.data.buildCacheReclaimable;
});
};