From 02f63797a8e772ae7515f527e62a23012479fe04 Mon Sep 17 00:00:00 2001 From: xudan Date: Thu, 23 Oct 2025 14:16:23 +0800 Subject: [PATCH] =?UTF-8?q?feat(scene-editor):=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=A5=BC=E5=B1=82=E5=88=A0=E9=99=A4=E5=8A=9F=E8=83=BD=EF=BC=8C?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=A5=BC=E5=B1=82=E8=BE=93=E5=85=A5=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/scene-editor.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/pages/scene-editor.vue b/src/pages/scene-editor.vue index 138c47f..89052da 100644 --- a/src/pages/scene-editor.vue +++ b/src/pages/scene-editor.vue @@ -332,6 +332,10 @@ const addFloor = () => { }); }; +const removeFloor = (index: number) => { + floorImportList.value.splice(index, 1); +}; + const openImportModal = () => { importMode.value = 'floor'; // 默认使用分区域模式 importModalVisible.value = true; @@ -874,7 +878,12 @@ const handleFloorChange = async (value: any) => {
- +
+ + + 删除 + +