fix: 网元状态切换保留List页面状态

This commit is contained in:
TsMask
2025-01-24 20:28:26 +08:00
parent 22e595131c
commit 36de89570f
3 changed files with 16 additions and 34 deletions

View File

@@ -315,11 +315,15 @@ let modalState: ModalStateType = reactive({
openByEdit: false,
title: 'NB Config List',
from: {
index: undefined,
address: '',
index: undefined,
name: '',
nbName: undefined,
offTime: undefined,
onTime: undefined,
position: '',
state: undefined,
ueNum: undefined,
},
confirmLoading: false,
});

View File

@@ -573,7 +573,7 @@ const interval = ref<boolean>(false);
/**递归刷新图状态 */
function repeatFn(reload: boolean = false) {
if (!interval.value) {
if (!interval.value || !graphG6Dom.value) {
return;
}
fnGraphState(reload)