From 21c5a202151315697a8315186b2818f78ce9c760 Mon Sep 17 00:00:00 2001 From: xudan Date: Tue, 14 Oct 2025 09:06:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9C=A8=E5=9C=B0=E5=9B=BE=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E4=B8=AD=E6=96=B0=E5=A2=9E=E6=9C=BA=E5=99=A8=E4=BA=BA?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E5=AD=97=E6=AE=B5=EF=BC=8C=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=AF=BC=E5=85=A5=E6=97=B6=E7=9A=84=E7=A9=BA?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E6=A3=80=E6=9F=A5=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/map/type.ts | 2 +- src/pages/group-editor.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apis/map/type.ts b/src/apis/map/type.ts index 76f049d..6626254 100644 --- a/src/apis/map/type.ts +++ b/src/apis/map/type.ts @@ -60,7 +60,7 @@ export interface MapAreaInfo { //#endregion //#region 机器人 -export type MapRobotInfo = Pick; +export type MapRobotInfo = Pick; //#endregion //#region 库位 diff --git a/src/pages/group-editor.vue b/src/pages/group-editor.vue index 20aa12b..74293b1 100644 --- a/src/pages/group-editor.vue +++ b/src/pages/group-editor.vue @@ -61,7 +61,7 @@ const toSync = () => const importScene = async () => { const file = await selectFile('.scene'); - if (!file?.size) return; + if (!file) return; const json = await decodeTextFile(file); editor.value?.load(json, editable.value, detail.value ?? {}, true); // 第四个参数isImport=true };