diff --git a/ui/src/components/card-box/index.vue b/ui/src/components/card-box/index.vue
index 7be543b2f..67b41c5e3 100644
--- a/ui/src/components/card-box/index.vue
+++ b/ui/src/components/card-box/index.vue
@@ -8,7 +8,7 @@
-
{{ title }}
+ {{ title }}
diff --git a/ui/src/layout/components/breadcrumb/index.vue b/ui/src/layout/components/breadcrumb/index.vue
index 22cfd02cf..f41e24b85 100644
--- a/ui/src/layout/components/breadcrumb/index.vue
+++ b/ui/src/layout/components/breadcrumb/index.vue
@@ -3,7 +3,7 @@
-
{{ currentName }}
+
{{ currentName }}
@@ -26,7 +26,7 @@

-
{{ item?.name }}
+
{{ item?.name }}
diff --git a/ui/src/styles/app.scss b/ui/src/styles/app.scss
index 35d78c698..044257b0d 100644
--- a/ui/src/styles/app.scss
+++ b/ui/src/styles/app.scss
@@ -238,7 +238,7 @@ h4 {
超出省略号
*/
-.ellipsis-1 {
+.ellipsis {
display: inline-block;
max-width: 130px;
text-overflow: ellipsis;
@@ -256,6 +256,13 @@ h4 {
overflow: hidden;
}
+.ellipsis-1 {
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 1;
+ overflow: hidden;
+}
+
.break-all {
word-break: break-all;
}
@@ -375,6 +382,10 @@ h4 {
background: var(--app-avatar-gradient-color);
}
+.avatar-light {
+ background: var(--el-color-primary-light-4);
+}
+
.success {
color: var(--el-color-success);
}
diff --git a/ui/src/utils/utils.ts b/ui/src/utils/utils.ts
index 4eb8b4e9e..dd09e7699 100644
--- a/ui/src/utils/utils.ts
+++ b/ui/src/utils/utils.ts
@@ -50,3 +50,9 @@ export function realatedObject(list: any, val: string | number, attr: string) {
return filterData || null
}
+// 排序
+export function arraySort(list: Array, property: any, desc?: boolean) {
+ return list.sort((a: any, b: any) => {
+ return desc ? b[property] - a[property] : a[property] - b[property]
+ })
+}
diff --git a/ui/src/views/applicaiton-overview/index.vue b/ui/src/views/applicaiton-overview/index.vue
index eba14b966..13fefcc0b 100644
--- a/ui/src/views/applicaiton-overview/index.vue
+++ b/ui/src/views/applicaiton-overview/index.vue
@@ -12,7 +12,7 @@
shape="square"
:size="32"
/>
- {{ detail?.name }}
+ {{ detail?.name }}
diff --git a/ui/src/views/application/CreateAndSetting.vue b/ui/src/views/application/CreateAndSetting.vue
index 20dd9a8c1..4cc46078d 100644
--- a/ui/src/views/application/CreateAndSetting.vue
+++ b/ui/src/views/application/CreateAndSetting.vue
@@ -112,7 +112,7 @@
-
+
{{ realatedObject(datasetList, item, 'id')?.name }}
diff --git a/ui/src/views/application/components/AddDatasetDialog.vue b/ui/src/views/application/components/AddDatasetDialog.vue
index 957fbbaa9..8d8f97b88 100644
--- a/ui/src/views/application/components/AddDatasetDialog.vue
+++ b/ui/src/views/application/components/AddDatasetDialog.vue
@@ -11,7 +11,7 @@
-
+
{{ item.name }}
diff --git a/ui/src/views/dataset/step/StepSecond.vue b/ui/src/views/dataset/step/StepSecond.vue
index 16e80ed92..097df1d82 100644
--- a/ui/src/views/dataset/step/StepSecond.vue
+++ b/ui/src/views/dataset/step/StepSecond.vue
@@ -60,7 +60,7 @@
show-input
:show-input-controls="false"
:min="50"
- :max="1024"
+ :max="4096"
/>