From 17118497e2bfce86c551b6f2f63da9a8508c61b8 Mon Sep 17 00:00:00 2001 From: miao <2514145421@qq.com> Date: Tue, 31 Jan 2023 14:30:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ControlPanelDialog.vue | 4 +--- src/i18n/en-US/index.ts | 4 +++- src/i18n/zh-CN/index.ts | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/ControlPanelDialog.vue b/src/components/ControlPanelDialog.vue index a401388..ad8c2b4 100644 --- a/src/components/ControlPanelDialog.vue +++ b/src/components/ControlPanelDialog.vue @@ -557,7 +557,7 @@ { const point_list = four_point(ele); @@ -1895,7 +1894,6 @@ export default defineComponent({ item.w = Math.round((ele.w / wall.value?.offsetWidth) * 3840); item.h = Math.round((ele.h / wall.value.offsetHeight) * 2160); item.angle = ele.angle; - export_list.push(JSON.parse(JSON.stringify(item))); res=res+JSON.stringify(item)+"\r\n" } }); diff --git a/src/i18n/en-US/index.ts b/src/i18n/en-US/index.ts index ada3458..532da18 100644 --- a/src/i18n/en-US/index.ts +++ b/src/i18n/en-US/index.ts @@ -409,5 +409,7 @@ export default { "topology diagram":"Topology Diagram", "physical central location":"Central Location", "monitors list":"Monitors List", - "resize":"Resize" + "resize":"Resize", + "export magic":"Export" + }; diff --git a/src/i18n/zh-CN/index.ts b/src/i18n/zh-CN/index.ts index e2a6a65..657da36 100644 --- a/src/i18n/zh-CN/index.ts +++ b/src/i18n/zh-CN/index.ts @@ -679,4 +679,5 @@ export default { "请输入合法地址. 例: 192.168.1.1 或 192.168.1.1:8080", "equipment data": "联动设备", "resize":"缩放", + "export magic":"导出" };