From 327cbce09be28f8e8a219487cb22e6343ccf63b9 Mon Sep 17 00:00:00 2001 From: xudan Date: Mon, 8 Dec 2025 15:57:03 +0800 Subject: [PATCH] =?UTF-8?q?feat(context-menu):=20=E5=9C=A8=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E7=B4=A2=E5=BC=95=E4=B8=AD=E6=96=B0=E5=A2=9E=E7=AB=99?= =?UTF-8?q?=E7=82=B9=E8=8F=9C=E5=8D=95=E6=9C=8D=E5=8A=A1=E5=B9=B6=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E7=B1=BB=E5=9E=8B=E5=AF=BC=E5=87=BA=E9=A1=BA=E5=BA=8F?= =?UTF-8?q?=E4=BB=A5=E4=BC=98=E5=8C=96=E6=A8=A1=E5=9D=97=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/services/context-menu/index.ts | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/src/services/context-menu/index.ts b/src/services/context-menu/index.ts index 9748272..2f56ff5 100644 --- a/src/services/context-menu/index.ts +++ b/src/services/context-menu/index.ts @@ -21,8 +21,8 @@ export { } from './storage-menu.service'; // 机器人菜单服务 -export type { RobotMenuConfig } from './robot-menu.service'; export type { RobotInfo } from '../../apis/robot'; +export type { RobotMenuConfig } from './robot-menu.service'; export { executeRobotAction, getRobotInfo, @@ -31,10 +31,18 @@ export { getRobotStatusText } from './robot-menu.service'; +// 站点菜单服务 +export type { PointMenuConfig } from './point-menu.service'; +export { + executeNavigateToPoint, + getPointMenuConfig, + isStationPoint +} from './point-menu.service'; + // 菜单配置服务 -export type { AreaMenuConfig, MenuConfig, PointMenuConfig } from './menu-config.service'; -export { - getMenuConfig, - handleContextMenu, - handleContextMenuFromPenData +export type { AreaMenuConfig, MenuConfig } from './menu-config.service'; +export { + getMenuConfig, + handleContextMenu, + handleContextMenuFromPenData } from './menu-config.service';