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 };