+
@@ -97,6 +97,11 @@ const toWorkspace = () => {
border-radius: 6px;
height: 40px;
cursor: pointer;
+
+ &:not(.collapse) {
+ background: #1f23290a;
+ border: 1px solid #d9dcdf;
+ }
&:hover {
background-color: #1f23291a;
}
diff --git a/frontend/src/views/ds/Card.vue b/frontend/src/views/ds/Card.vue
index 0be49d5e..238b00d1 100644
--- a/frontend/src/views/ds/Card.vue
+++ b/frontend/src/views/ds/Card.vue
@@ -13,6 +13,7 @@ const props = withDefaults(
name: string
type: string
typeName: string
+ num: string
description?: string
id?: string
}>(),
@@ -69,6 +70,7 @@ const onClickOutside = () => {
+ {{ num }}
diff --git a/frontend/src/views/ds/Datasource.vue b/frontend/src/views/ds/Datasource.vue
index 7c9f0c3a..49c31176 100644
--- a/frontend/src/views/ds/Datasource.vue
+++ b/frontend/src/views/ds/Datasource.vue
@@ -21,6 +21,7 @@ import { useI18n } from 'vue-i18n'
interface Datasource {
name: string
+ num: string
type_name: string
type: string
img: string
@@ -274,6 +275,7 @@ const back = () => {
:name="ele.name"
:type="ele.type"
:type-name="ele.type_name"
+ :num="ele.num"
:description="ele.description"
@question="handleQuestion"
@edit="handleEditDatasource(ele)"
diff --git a/frontend/src/views/system/model/Model.vue b/frontend/src/views/system/model/Model.vue
index 8bd0a4ad..4c9b9f88 100644
--- a/frontend/src/views/system/model/Model.vue
+++ b/frontend/src/views/system/model/Model.vue
@@ -359,6 +359,8 @@ const submit = (item: any) => {
.card-content {
display: flex;
+ flex-wrap: wrap;
+ max-height: calc(100% - 40px);
}
}