From aedaf86c23990c9f0f803dca95ccf93c7a906708 Mon Sep 17 00:00:00 2001 From: xudan Date: Mon, 1 Dec 2025 15:19:42 +0800 Subject: [PATCH] =?UTF-8?q?feat(scene-editor):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=9C=A8=E6=96=B0=E6=A0=87=E7=AD=BE=E9=A1=B5=E6=89=93=E5=BC=80?= =?UTF-8?q?=E5=9C=BA=E6=99=AF=E7=BC=96=E8=BE=91=E5=99=A8=E7=9A=84=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E6=8C=89=E9=92=AE=EF=BC=8C=E4=BE=BF=E4=BA=8E=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E5=A4=9A=E7=AA=97=E5=8F=A3=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/scene-editor.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pages/scene-editor.vue b/src/pages/scene-editor.vue index 9f5b286..51b6775 100644 --- a/src/pages/scene-editor.vue +++ b/src/pages/scene-editor.vue @@ -36,6 +36,10 @@ const props = defineProps(); const { t } = useI18n(); const { isConverting, convertSmapToScene, exportSceneToSmap, convertSceneToIray } = useMapConversion(); +const openInNewTab = () => { + window.open(window.location.href, '_blank'); +}; + const normalizeSceneJson = (raw: unknown): unknown => { if (raw == null) return raw; @@ -745,6 +749,7 @@ const handleFloorChange = async (value: any) => { {{ title }} --场景编辑 返回 + 在新标签页打开 保存比例