fix: MML命令为空判断不发送

This commit is contained in:
TsMask
2025-08-04 18:27:24 +08:00
parent e4136a27ee
commit 37691e5349

View File

@@ -171,6 +171,9 @@ function fnSendMML() {
}
cmdArr = value.split(';');
}
if (cmdArr.length === 1 && cmdArr[0] === '') {
return;
}
// 发送
state.from.sendLoading = true;
@@ -540,7 +543,7 @@ onMounted(() => {
// 获取网元网元列表
neCascaderOptions.value = neListStore.getNeCascaderOptions.filter(
(item: any) => {
return !['OMC'].includes(item.value); // 过滤不可用的网元
return !['OMC', 'CBC', 'SGWC'].includes(item.value); // 过滤不可用的网元
}
);
if (neCascaderOptions.value.length === 0) {