diff --git a/ui/src/styles/element-plus.scss b/ui/src/styles/element-plus.scss
index 55d843e88..22e0c8946 100644
--- a/ui/src/styles/element-plus.scss
+++ b/ui/src/styles/element-plus.scss
@@ -29,6 +29,7 @@
}
.el-dialog {
+ --el-dialog-title-font-size: 16px;
.dialog-sub-title {
color: var(--el-text-color-regular);
margin: 5px 0;
diff --git a/ui/src/views/template/component/CreateModel.vue b/ui/src/views/template/component/CreateModel.vue
index 4b07d5fe1..9ab431991 100644
--- a/ui/src/views/template/component/CreateModel.vue
+++ b/ui/src/views/template/component/CreateModel.vue
@@ -9,8 +9,8 @@
>
-
+ 选择供应商
@@ -27,10 +27,17 @@
:render_data="model_form_field"
:model="form_data"
ref="dynamicsFormRef"
+ label-position="top"
+ require-asterisk-position="right"
>
-
+
{{
- `修改 ${providerValue?.name} 模型`
+ `编辑 ${providerValue?.name} 模型`
}}
@@ -22,10 +22,17 @@
:render_data="model_form_field"
:model="form_data"
ref="dynamicsFormRef"
+ label-position="top"
+ require-asterisk-position="right"
>
-
+
-
-
-
-
-
-
-
-
-
-
diff --git a/ui/src/views/template/component/SelectProvider.vue b/ui/src/views/template/component/SelectProvider.vue
index c0f5fc6d9..297054d19 100644
--- a/ui/src/views/template/component/SelectProvider.vue
+++ b/ui/src/views/template/component/SelectProvider.vue
@@ -6,34 +6,25 @@
:close-on-press-escape="false"
:destroy-on-close="true"
:before-close="close"
+ title="选择供应商"
>
-
-
-
- 选择供应商
-
-
-
-
-
-
- {{ scope.name }}
-
-
+
+
+
+
+
+ {{ data.name }}
+
+
+
+
-
+
diff --git a/ui/src/views/template/index.vue b/ui/src/views/template/index.vue
index 7e49c7895..3cc693d00 100644
--- a/ui/src/views/template/index.vue
+++ b/ui/src/views/template/index.vue
@@ -22,7 +22,7 @@
{{ active_provider?.name }}
-
+
创建模型
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -124,9 +134,8 @@ onMounted(() => {
width: var(--setting-left-width);
min-width: var(--setting-left-width);
}
- &__right {
- width: 100%;
- overflow: scroll;
+ .model-list-height {
+ height: calc(var(--create-dataset-height) - 70px);
}
}