From 12262280eecac0784cf9f2d92e6249d041e5f5b7 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Wed, 24 Jul 2024 15:06:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D=E5=85=B3=E8=81=94?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/views/application/component/AddDatasetDialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/views/application/component/AddDatasetDialog.vue b/ui/src/views/application/component/AddDatasetDialog.vue index 30e982d1e..ac5bba989 100644 --- a/ui/src/views/application/component/AddDatasetDialog.vue +++ b/ui/src/views/application/component/AddDatasetDialog.vue @@ -89,7 +89,7 @@ watch(dialogVisible, (bool) => { }) function changeHandle() { - if (checkList.value.length === 1) { + if (checkList.value.length > 0) { currentEmbedding.value = props.data.filter( (v) => v.id === checkList.value[0] )[0].embedding_mode_id