fix: MML命令为空判断不发送
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user