From 4c117ff16addeb830fd52214498f0b2891574aa6 Mon Sep 17 00:00:00 2001 From: dataeaseShu <106045316+dataeaseShu@users.noreply.github.com> Date: Fri, 7 Oct 2022 11:38:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=B0=E7=8E=AF=E5=A2=83=20=E9=A9=B1?= =?UTF-8?q?=E5=8A=A8=E6=96=B0=E5=BB=BA=E4=B8=8D=E7=AC=A6=E5=90=88=E9=A2=84?= =?UTF-8?q?=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/system/datasource/DsTree.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/system/datasource/DsTree.vue b/frontend/src/views/system/datasource/DsTree.vue index 2c996052b6..9e8ff9bc4e 100644 --- a/frontend/src/views/system/datasource/DsTree.vue +++ b/frontend/src/views/system/datasource/DsTree.vue @@ -42,7 +42,7 @@
{{ showView === 'Driver' ? '暂无驱动' : '暂无数据源' }} - {{ + {{ $t('deDataset.create') }}
@@ -360,6 +360,13 @@ export default { this.datasourceTypes() }, methods: { + createDriveOrDs() { + if (this.showView === 'Driver') { + this.addDriver() + } else { + this.addFolder() + } + }, dataUpdate(row) { this.dfsTdata(this.tData, row) },