diff --git a/ui/src/layout/components/top-bar/avatar/AboutDialog.vue b/ui/src/layout/components/top-bar/avatar/AboutDialog.vue
index fc8bd380a..e92eaa928 100644
--- a/ui/src/layout/components/top-bar/avatar/AboutDialog.vue
+++ b/ui/src/layout/components/top-bar/avatar/AboutDialog.vue
@@ -39,7 +39,10 @@
备注{{ licenseInfo?.remark || '-' }}
-
+
{
diff --git a/ui/src/router/modules/setting.ts b/ui/src/router/modules/setting.ts
index 357c133de..719aef797 100644
--- a/ui/src/router/modules/setting.ts
+++ b/ui/src/router/modules/setting.ts
@@ -4,7 +4,7 @@ import { Role, ComplexPermission } from '@/utils/permission/type'
const settingRouter = {
path: '/setting',
name: 'setting',
- meta: { icon: 'Setting', title: '系统管理', permission: 'SETTING:READ' },
+ meta: { icon: 'Setting', title: '系统设置', permission: 'SETTING:READ' },
redirect: () => {
if (hasPermission(new Role('ADMIN'), 'AND')) {
return '/user'
@@ -59,7 +59,7 @@ const settingRouter = {
meta: {
icon: 'app-setting',
iconActive: 'app-setting-active',
- title: '系统管理',
+ title: '系统设置',
activeMenu: '/setting',
parentPath: '/setting',
parentName: 'setting',
diff --git a/ui/src/styles/element-plus.scss b/ui/src/styles/element-plus.scss
index feea925b9..54fb881cc 100644
--- a/ui/src/styles/element-plus.scss
+++ b/ui/src/styles/element-plus.scss
@@ -222,7 +222,7 @@
margin-right: calc(var(--app-base-px) + 4px);
}
.el-slider__input {
- width: 60px;
+ width: 72px;
}
.input-with-select {
diff --git a/ui/src/views/application/component/AddDatasetDialog.vue b/ui/src/views/application/component/AddDatasetDialog.vue
index e66e73b79..ead180f0f 100644
--- a/ui/src/views/application/component/AddDatasetDialog.vue
+++ b/ui/src/views/application/component/AddDatasetDialog.vue
@@ -5,6 +5,7 @@
width="600"
append-to-body
class="addDataset-dialog"
+ align-center
>
@@ -23,19 +24,23 @@
所选知识库必须使用相同的 Embedding 模型
-
-
-
-
- {{ item.name }}
-
-
-
-
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
-
-
+
+
已选 {{ checkList.length }} 个知识库
@@ -87,6 +92,8 @@ function changeHandle() {
currentEmbedding.value = props.data.filter(
(v) => v.id === checkList.value[0]
)[0].embedding_mode_id
+ } else if (checkList.value.length === 0) {
+ currentEmbedding.value = ''
}
}
function clearCheck() {
@@ -96,6 +103,12 @@ function clearCheck() {
const open = (checked: any) => {
checkList.value = checked
+ if (checkList.value.length > 0) {
+ currentEmbedding.value = props.data.filter(
+ (v) => v.id === checkList.value[0]
+ )[0].embedding_mode_id
+ }
+
dialogVisible.value = true
}
const submitHandle = () => {
@@ -111,11 +124,25 @@ defineExpose({ open })
diff --git a/ui/src/views/dataset/component/BaseForm.vue b/ui/src/views/dataset/component/BaseForm.vue
index a8c659500..faaf1c4c7 100644
--- a/ui/src/views/dataset/component/BaseForm.vue
+++ b/ui/src/views/dataset/component/BaseForm.vue
@@ -27,10 +27,10 @@
@blur="form.desc = form.desc.trim()"
/>
-
+
-
+
通用型
-
可以通过上传文件或手动录入方式构建知识库
+
上传本地文件或手动录入
@@ -44,7 +44,7 @@
Web 站点
-
通过网站链接同步方式构建知识库
+
同步Web网站文本数据
diff --git a/ui/src/views/template/component/ModelCard.vue b/ui/src/views/template/component/ModelCard.vue
index 9984d8690..ba4c4d4bd 100644
--- a/ui/src/views/template/component/ModelCard.vue
+++ b/ui/src/views/template/component/ModelCard.vue
@@ -23,7 +23,7 @@
私有
-
公有
+
公用
@@ -59,7 +59,7 @@
-