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('暂无') }}