From 868d7721bc9692c7f1ae7a15f0380c133073ea2f Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Thu, 28 Dec 2023 12:01:24 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix:=20=E5=B5=8C=E5=85=A5=E5=BC=8F=E5=AD=97?= =?UTF-8?q?=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/pages/panel/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/core/core-frontend/src/pages/panel/main.ts b/core/core-frontend/src/pages/panel/main.ts index 2d6c56c2b8..a1cfe1cb3e 100644 --- a/core/core-frontend/src/pages/panel/main.ts +++ b/core/core-frontend/src/pages/panel/main.ts @@ -50,6 +50,7 @@ document.querySelector('head').appendChild = (node: T) => { return newNode } import { App, createApp } from 'vue' +import '../../assets/font/index.css' import '@/style/index.less' import '@/plugins/svg-icon' import 'normalize.css/normalize.css' From 75fed43c4bea7bf64a0e0afcbcd1909f50802813 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Thu, 28 Dec 2023 17:25:46 +0800 Subject: [PATCH 2/3] =?UTF-8?q?fix:=20=E6=90=9C=E7=B4=A2=E7=BB=93=E6=9E=9C?= =?UTF-8?q?=E9=A1=B5=E7=9A=84=E6=A0=87=E9=A2=98=E6=98=BE=E7=A4=BA=E4=B8=8E?= =?UTF-8?q?=E8=AE=BE=E8=AE=A1=E7=A8=BF=E4=B8=8D=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/views/template/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/template/index.vue b/core/core-frontend/src/views/template/index.vue index 83065973a2..956474057e 100644 --- a/core/core-frontend/src/views/template/index.vue +++ b/core/core-frontend/src/views/template/index.vue @@ -47,7 +47,7 @@ }}) - {{ state.currentTemplateLabel }}   + {{ state.templateFilterText }}   的搜索结果 {{ currentTemplateShowListComputed.length }} 个 From ad9c38cbaf2c51de465dfb65b6d58d948048a689 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Thu, 28 Dec 2023 17:39:31 +0800 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20=E6=95=B0=E6=8D=AE=E6=BA=90=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E6=9C=80=E5=90=8E=E4=B8=80=E4=B8=AA=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/visualized/data/datasource/form/ApiKeyValue.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/core-frontend/src/views/visualized/data/datasource/form/ApiKeyValue.vue b/core/core-frontend/src/views/visualized/data/datasource/form/ApiKeyValue.vue index bc4f103ebd..5d32e280a8 100644 --- a/core/core-frontend/src/views/visualized/data/datasource/form/ApiKeyValue.vue +++ b/core/core-frontend/src/views/visualized/data/datasource/form/ApiKeyValue.vue @@ -45,15 +45,15 @@ onBeforeMount(() => { }) const remove = (index: number) => { - if (isDisable(index)) return + if (isDisable()) return // 移除整行输入控件及内容 items.value.splice(index, 1) } const change = () => { items.value.push(new KeyValue({ enable: true })) } -const isDisable = (index: number) => { - return items.value.length - 1 === index +const isDisable = () => { + return items.value.length === 1 } const querySearch = (queryString, cb) => { const results = queryString @@ -128,7 +128,7 @@ const createFilter = (queryString: string) => { - +