From 0a4f25bde6fa18884505b453a1d2974c9d11fb64 Mon Sep 17 00:00:00 2001 From: xudan Date: Tue, 15 Jul 2025 14:46:26 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9=E7=BB=91?= =?UTF-8?q?=E5=AE=9A=E5=8A=A8=E4=BD=9C=E7=82=B9=E4=B8=BA=E7=BB=91=E5=AE=9A?= =?UTF-8?q?=E5=BA=93=E4=BD=8D=EF=BC=8C=E6=9B=B4=E6=96=B0=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E5=B1=9E=E6=80=A7=E4=BB=A5=E5=8F=8D=E6=98=A0?= =?UTF-8?q?=E6=96=B0=E7=9A=84=E5=BA=93=E4=BD=8D=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/card/area-detail-card.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/card/area-detail-card.vue b/src/components/card/area-detail-card.vue index 3f45587..ceed38a 100644 --- a/src/components/card/area-detail-card.vue +++ b/src/components/card/area-detail-card.vue @@ -20,12 +20,12 @@ const area = computed(() => { const icon = computed(() => `area${area.value?.type}-detail`); -const bindAction = computed( +const bindStorageLocations = computed( () => area.value?.points ?.map((v) => editor.value.getPenById(v)) .filter((v) => v?.point?.type === MapPointType.动作点) - .map((v) => v?.label) + .flatMap((v) => v?.point?.associatedStorageLocations ?? []) .filter((v) => !!v) .join('、') ?? '', ); @@ -83,8 +83,8 @@ const ruleText = computed(() => { - {{ $t('绑定动作点') }} - {{ bindAction || $t('暂无') }} + {{ $t('绑定库位') }} + {{ bindStorageLocations || $t('暂无') }}