From 5608e576cdbd2d9f1d05c28f9e801a14600bd2e0 Mon Sep 17 00:00:00 2001 From: taojinlong Date: Tue, 31 May 2022 19:03:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=95=B0=E6=8D=AE=E6=BA=90=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/lang/en.js | 2 +- frontend/src/lang/tw.js | 2 +- frontend/src/lang/zh.js | 2 +- frontend/src/views/system/datasource/DsTree.vue | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js index 5348297bd4..8e627521c0 100644 --- a/frontend/src/lang/en.js +++ b/frontend/src/lang/en.js @@ -1349,7 +1349,7 @@ export default { client_principal: 'Client Principal', keytab_Key_path: 'Keytab Key Path', datasource: 'Data Source', - please_select_left: 'Please select the data source from the left', + please_select_left: 'Please select data from the left', show_info: 'Data Source Info', create: 'Create Data Source', type: 'Type', diff --git a/frontend/src/lang/tw.js b/frontend/src/lang/tw.js index 21d143a8aa..fd8c401e24 100644 --- a/frontend/src/lang/tw.js +++ b/frontend/src/lang/tw.js @@ -1349,7 +1349,7 @@ export default { client_principal: 'Client Principal', keytab_Key_path: 'Keytab Key Path', datasource: '數據源', - please_select_left: '請從左側選擇數據源', + please_select_left: '請從左側選擇', show_info: '數據源信息', create: '新建數據源', type: '類型', diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js index 954491ad27..cef09bc9d5 100644 --- a/frontend/src/lang/zh.js +++ b/frontend/src/lang/zh.js @@ -1351,7 +1351,7 @@ export default { client_principal: 'Client Principal', keytab_Key_path: 'Keytab Key Path', datasource: '数据源', - please_select_left: '请从左侧选择数据源', + please_select_left: '请从左侧选择', show_info: '数据源信息', create: '新建数据源', type: '类型', diff --git a/frontend/src/views/system/datasource/DsTree.vue b/frontend/src/views/system/datasource/DsTree.vue index f3e91a7156..48adad7d43 100644 --- a/frontend/src/views/system/datasource/DsTree.vue +++ b/frontend/src/views/system/datasource/DsTree.vue @@ -9,7 +9,6 @@ {{ $t('datasource.create') }} {{ $t('driver.mgm') }} - @@ -324,12 +323,14 @@ export default { }, driverMgm() { + this.$emit('switch-main', {}) this.showView = 'Driver' this.expandedArray = [] this.tData = [] this.queryTreeDatas() }, dsMgm() { + this.$emit('switch-main', {}) this.showView = 'Datasource' this.expandedArray = [] this.tData = []