- {{ $t('ds.title') }}
+ {{ $t('ds.title') }}
@@ -354,8 +359,24 @@ const changeStatus = (row: any) => {
color: #646a73;
border-bottom: 1px solid #1f232926;
+ .ed-button {
+ height: 22px;
+ line-height: 22px;
+ color: #646a73;
+
+ &:hover {
+ background: #1cba901a;
+ color: #1cba90;
+ }
+ &:active {
+ color: #189e7a;
+ background: #1cba9033;
+ }
+ }
+
.name {
color: #1f2329;
+ margin-left: 4px;
}
}
.content {
diff --git a/frontend/src/views/ds/Datasource.vue b/frontend/src/views/ds/Datasource.vue
index fda9b441..7c9f0c3a 100644
--- a/frontend/src/views/ds/Datasource.vue
+++ b/frontend/src/views/ds/Datasource.vue
@@ -1,5 +1,5 @@
@@ -303,7 +330,7 @@ const dataTableDetail = (ele: any) => {
>
-
+
diff --git a/frontend/src/views/system/model/ModelForm.vue b/frontend/src/views/system/model/ModelForm.vue
index 58090cc5..d19960a2 100644
--- a/frontend/src/views/system/model/ModelForm.vue
+++ b/frontend/src/views/system/model/ModelForm.vue
@@ -130,6 +130,7 @@ const supplierChang = (supplier: any) => {
modelForm.supplier = supplier.id
const config = supplier.model_config[modelForm.model_type || 0]
modelForm.api_domain = config.api_domain
+ modelForm.base_model = ''
if (!modelForm.id) {
modelForm.name = supplier.name
}