From b21cbb14d73bab147d809e7cfa7327598bd7113e Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Wed, 5 Mar 2025 15:24:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A0=B9=E6=8D=AE=E7=BD=91=E5=85=83?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=BE=97=E5=88=B0=E7=BD=91=E5=85=83=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/perfManage/kpiKeyTarget/index.vue | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/views/perfManage/kpiKeyTarget/index.vue b/src/views/perfManage/kpiKeyTarget/index.vue index fe50af51..705cfd38 100644 --- a/src/views/perfManage/kpiKeyTarget/index.vue +++ b/src/views/perfManage/kpiKeyTarget/index.vue @@ -70,14 +70,13 @@ const ALL_NE_TYPES = [ 'mocngw', 'smsc', 'cbc', - 'ausf', ] as const; type AllChartType = (typeof ALL_NE_TYPES)[number] & string; - +console.log( neInfoStore.getNeCascaderOptions) // 在 ALL_NE_TYPES 定义之后添加 小写转大写 -const neTypeOptions = ALL_NE_TYPES.map(type => ({ - label: type.toUpperCase(), - value: type, +const neTypeOptions = neInfoStore.getNeCascaderOptions.map(v => ({ + label: v.value, + value: v.label, })); // 使用 ref 来使 networkElementTypes 变为响应式,并使用 ALL_NE_TYPES 初始化