summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzyh <[email protected]>2024-09-20 14:22:27 +0800
committerzyh <[email protected]>2024-09-20 14:22:27 +0800
commit2a33abed6c817c8ddf0ce37b8faadc1ca3b2e043 (patch)
treebbeba4b445439c79d5943686519ea1204ac12179
parent47c09d439efd8720f35f2f88ed2289608251cbc7 (diff)
fix: 修复删除acl弹窗标题错误
-rw-r--r--src/i18n/en.js3
-rw-r--r--src/i18n/zh.js3
-rw-r--r--src/views/environments/start.vue7
3 files changed, 9 insertions, 4 deletions
diff --git a/src/i18n/en.js b/src/i18n/en.js
index a257df8..4033cd2 100644
--- a/src/i18n/en.js
+++ b/src/i18n/en.js
@@ -96,7 +96,8 @@ export default {
port: 'Port',
size: 'Size',
permission: 'Permission',
- creator: 'Creator'
+ creator: 'Creator',
+ delete_hint: 'Delete {name}',
},
application: {
application: 'Application',
diff --git a/src/i18n/zh.js b/src/i18n/zh.js
index 6dbdf1a..002bd93 100644
--- a/src/i18n/zh.js
+++ b/src/i18n/zh.js
@@ -96,7 +96,8 @@ export default {
port: '端口',
size: '大小',
permission: '权限',
- creator: '创建者'
+ creator: '创建者',
+ delete_hint: '删除{name}',
},
application: {
application: '应用',
diff --git a/src/views/environments/start.vue b/src/views/environments/start.vue
index ef05479..021df33 100644
--- a/src/views/environments/start.vue
+++ b/src/views/environments/start.vue
@@ -926,7 +926,9 @@ const aclDelete = async (row) => {
t('env_mgt.delete_hint_message', {
environment: t('environment.acl'),
}),
- t('env_mgt.delete_hint_title'),
+ t('overall.delete_hint', {
+ name: t('environment.acl'),
+ }),
{
confirmButtonText: t('overall.delete'),
cancelButtonText: t('overall.cancel'),
@@ -1214,7 +1216,8 @@ onBeforeUnmount(() => {
}
.terminal-tab {
- padding: 20px;
+ width: 100%;
+ height: 100%;
}
.tcpdump-tab {