fix: 网元状态切换保留List页面状态
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user