From 2586a4b37dca2c3ed5bf31cfabfa71287678940a Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Fri, 24 Sep 2021 17:27:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BB=AA=E8=A1=A8?= =?UTF-8?q?=E6=9D=BFtab=E7=BB=84=E4=BB=B6=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/widget/DeWidget/DeTabs.vue | 22 +++++++++---------- frontend/src/lang/en.js | 4 ++++ frontend/src/lang/tw.js | 4 ++++ frontend/src/lang/zh.js | 4 ++++ 4 files changed, 23 insertions(+), 11 deletions(-) diff --git a/frontend/src/components/widget/DeWidget/DeTabs.vue b/frontend/src/components/widget/DeWidget/DeTabs.vue index 399b9a89b4..fb5adf25c0 100644 --- a/frontend/src/components/widget/DeWidget/DeTabs.vue +++ b/frontend/src/components/widget/DeWidget/DeTabs.vue @@ -19,15 +19,15 @@ - 编辑标题 + {{ $t('detabs.eidttitle') }} - 选择视图 + {{ $t('detabs.selectview') }} - 删除 + {{ $t('table.delete') }} @@ -42,7 +42,7 @@ - 取 消 - 确 定 + {{ $t('table.cancel') }} + {{ $t('table.confirm') }} -
+
- 取 消 - 确 定 + {{ $t('table.cancel') }} + {{ $t('table.confirm') }} diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js index f9363502e7..5241f202bc 100644 --- a/frontend/src/lang/en.js +++ b/frontend/src/lang/en.js @@ -395,6 +395,10 @@ export default { cancel: 'Cancel', confirm: 'Confirm' }, + detabs: { + eidttitle: 'Edit Title', + selectview: 'Select View' + }, example: { warning: 'Creating and editing pages cannot be cached by keep-alive because keep-alive include does not currently support caching based on routes, so it is currently cached based on component name. If you want to achieve a similar caching effect, you can use a browser caching scheme such as localStorage. Or do not use keep-alive include to cache all pages directly. See details' }, diff --git a/frontend/src/lang/tw.js b/frontend/src/lang/tw.js index ec250734ff..eda115e0d0 100644 --- a/frontend/src/lang/tw.js +++ b/frontend/src/lang/tw.js @@ -395,6 +395,10 @@ export default { cancel: '取 消', confirm: '確 定' }, + detabs: { + eidttitle: '編輯標題', + selectview: '選擇視圖' + }, example: { warning: '創建和編輯頁面是不能被 keep-alive 緩存的,因爲keep-alive 的 include 目前不支持根據路由來緩存,所以目前都是基于 component name 來進行緩存的。如果你想類似的實現緩存效果,可以使用 localStorage 等浏覽器緩存方案。或者不要使用 keep-alive 的 include,直接緩存所有頁面。詳情見' }, diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js index 7afd884ebc..e8356d5761 100644 --- a/frontend/src/lang/zh.js +++ b/frontend/src/lang/zh.js @@ -395,6 +395,10 @@ export default { cancel: '取 消', confirm: '确 定' }, + detabs: { + eidttitle: '编辑标题', + selectview: '选择视图' + }, example: { warning: '创建和编辑页面是不能被 keep-alive 缓存的,因为keep-alive 的 include 目前不支持根据路由来缓存,所以目前都是基于 component name 来进行缓存的。如果你想类似的实现缓存效果,可以使用 localStorage 等浏览器缓存方案。或者不要使用 keep-alive 的 include,直接缓存所有页面。详情见' },