From 7e4444c46050a53c2dae32f75885a9aa1ef0f6cb Mon Sep 17 00:00:00 2001 From: xudan Date: Fri, 18 Jul 2025 16:41:09 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=B3=A8=E9=87=8A=E6=8E=89?= =?UTF-8?q?=E4=B8=8D=E5=BF=85=E8=A6=81=E7=9A=84=E6=89=A9=E5=B1=95=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E9=80=BB=E8=BE=91=EF=BC=8C=E7=AE=80=E5=8C=96=E7=82=B9?= =?UTF-8?q?=E4=BD=8D=E8=AF=A6=E6=83=85=E5=92=8C=E7=BC=96=E8=BE=91=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E6=98=BE=E7=A4=BA=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/map/constant.ts | 7 ++++--- src/components/card/point-detail-card.vue | 4 ++-- src/components/card/point-edit-card.vue | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/apis/map/constant.ts b/src/apis/map/constant.ts index 839ac36..f3b86f1 100644 --- a/src/apis/map/constant.ts +++ b/src/apis/map/constant.ts @@ -50,9 +50,10 @@ export const MAP_POINT_TYPES = Object.freeze( export const MAP_POINT_EXTENSION_TYPES = Object.freeze({ [MapPointType.等待点]: [MapPointType.临时避让点], [MapPointType.库区点]: [MapPointType.临时避让点], - [MapPointType.临时避让点]: [MapPointType.等待点, MapPointType.库区点, MapPointType.密集库区点], - [MapPointType.密集库区点]: [MapPointType.动作点, MapPointType.临时避让点], - [MapPointType.动作点]: [MapPointType.密集库区点], + [MapPointType.临时避让点]: [MapPointType.等待点, MapPointType.库区点], + // [MapPointType.临时避让点]: [MapPointType.等待点, MapPointType.库区点, MapPointType.密集库区点], + // [MapPointType.密集库区点]: [MapPointType.动作点, MapPointType.临时避让点], + // [MapPointType.动作点]: [MapPointType.密集库区点], }); /** diff --git a/src/components/card/point-detail-card.vue b/src/components/card/point-detail-card.vue index cf557dc..5284b31 100644 --- a/src/components/card/point-detail-card.vue +++ b/src/components/card/point-detail-card.vue @@ -109,10 +109,10 @@ const getStorageStatusTag = (location: StorageLocationInfo) => { {{ $t('站点坐标') }} ({{ rect.x?.toFixed() }},{{ rect.y?.toFixed() }}) - + {{ $t('绑定机器人') }} diff --git a/src/components/card/point-edit-card.vue b/src/components/card/point-edit-card.vue index 8caa4f4..7f06d1e 100644 --- a/src/components/card/point-edit-card.vue +++ b/src/components/card/point-edit-card.vue @@ -234,7 +234,7 @@ function onChangeLocation(i: number, v: string) { - +