From a1e126c471645d15d1b9f3776830dd11976e469c Mon Sep 17 00:00:00 2001 From: xudan Date: Wed, 20 Aug 2025 10:54:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=94=AF=E6=8C=81=E5=8A=A8=E6=80=81?= =?UTF-8?q?=E6=89=A9=E5=B1=95=E4=BB=BB=E5=8A=A1=E6=93=8D=E4=BD=9C=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=EF=BC=8C=E4=BC=98=E5=8C=96=E4=BB=BB=E5=8A=A1=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E6=98=BE=E7=A4=BA=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/scene/type.ts | 4 +- src/components/card/point-detail-card.vue | 75 ++++++++++++++++------- 2 files changed, 55 insertions(+), 24 deletions(-) diff --git a/src/apis/scene/type.ts b/src/apis/scene/type.ts index 8984de1..269381f 100644 --- a/src/apis/scene/type.ts +++ b/src/apis/scene/type.ts @@ -170,8 +170,8 @@ export interface BinTaskOperation { } export interface BinTaskItem { - Load?: BinTaskOperation; - Unload?: BinTaskOperation; + // 支持任意任务类型的动态扩展 + [key: string]: BinTaskOperation | undefined; } export interface BinLocationProperty { diff --git a/src/components/card/point-detail-card.vue b/src/components/card/point-detail-card.vue index 76031b5..bd67a75 100644 --- a/src/components/card/point-detail-card.vue +++ b/src/components/card/point-detail-card.vue @@ -1,6 +1,12 @@