fix: 看板用户数初始neId传入失败,禁止选择当前项

This commit is contained in:
TsMask
2025-04-11 18:00:06 +08:00
parent fc233c38ea
commit 59127104a6

View File

@@ -316,7 +316,7 @@ onMounted(() => {
});
udmOtions.value = arr1;
if (arr1.length > 0) {
fnSelectUDM(arr1[0].value);
fnSelectUDM({ key: arr1[0].value });
}
// 过滤不可用的网元
@@ -399,7 +399,7 @@ onBeforeUnmount(() => {
</div>
<template #overlay>
<a-menu @click="fnSelectUDM">
<a-menu-item v-for="v in udmOtions" :key="v.value">
<a-menu-item v-for="v in udmOtions" :key="v.value" :disabled="udmNeId === v.value">
{{ v.label }}
</a-menu-item>
</a-menu>