From 3d1f1a8379557b421be8338a4b783af6129dd793 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Wed, 21 May 2025 22:26:00 +0800 Subject: [PATCH] fix: Fix the problem of abnormal display on the docker state switch (#8775) Refs #8769 --- frontend/src/views/container/setting/index.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/views/container/setting/index.vue b/frontend/src/views/container/setting/index.vue index 3fc7175c0..ce74b8970 100644 --- a/frontend/src/views/container/setting/index.vue +++ b/frontend/src/views/container/setting/index.vue @@ -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(() => {