From 373595ff41f09e8889ddb3829800abd5e2f63445 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Thu, 2 Jan 2025 18:54:55 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/locales/en.ts | 2 ++ .../src/views/system/parameter/map/Geometry.vue | 4 +++- .../src/views/system/parameter/map/MapSetting.vue | 9 ++++++++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts index 3305ba16a5..cfbe6e14b9 100644 --- a/core/core-frontend/src/locales/en.ts +++ b/core/core-frontend/src/locales/en.ts @@ -587,6 +587,8 @@ export default { edit_embedded_application: 'Edit an embedded application', application_name: 'Application name', cross_domain_settings: 'Cross-domain settings', + embedded_del_confirm: 'Are you sure you want to delete {0} applications?', + embedded_search_placeholder: 'Search by application name, APP ID, or cross-domain settings', embedded_secret_len_change: 'The key length has changed. The key will be reset soon. Are you sure?', embedded_management: 'Embedded management', diff --git a/core/core-frontend/src/views/system/parameter/map/Geometry.vue b/core/core-frontend/src/views/system/parameter/map/Geometry.vue index bb2de92b76..b59bd5c388 100644 --- a/core/core-frontend/src/views/system/parameter/map/Geometry.vue +++ b/core/core-frontend/src/views/system/parameter/map/Geometry.vue @@ -203,7 +203,9 @@ diff --git a/core/core-frontend/src/views/system/parameter/map/MapSetting.vue b/core/core-frontend/src/views/system/parameter/map/MapSetting.vue index 77dd372afd..d9e40bf051 100644 --- a/core/core-frontend/src/views/system/parameter/map/MapSetting.vue +++ b/core/core-frontend/src/views/system/parameter/map/MapSetting.vue @@ -9,7 +9,7 @@ :class="{ active: activeIndex === item.id }" @click="selectHandler(index)" > - {{ t(item.name) }} + {{ t(item.name) }} @@ -65,6 +65,13 @@ const selectHandler = (index: number) => { &:hover { background: #1f232926; } + span { + display: block; + width: 150px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } } .active { background: var(--ed-color-primary-1a, #3370ff1a);