fix: Fix the problem of abnormal display on the docker state switch (#8775)

Refs #8769
This commit is contained in:
ssongliu 2025-05-21 22:26:00 +08:00 committed by GitHub
parent eac4e15ef5
commit 3d1f1a8379
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -442,8 +442,7 @@ const onOperator = async (operation: string) => {
await dockerOperate(operation)
.then(() => {
loading.value = false;
search();
changeMode();
window.location.reload();
MsgSuccess(i18n.global.t('commons.msg.operationSuccess'));
})
.catch(() => {