diff --git a/ui/src/components/ai-dialog/index.vue b/ui/src/components/ai-dialog/index.vue new file mode 100644 index 000000000..9a9d0fa36 --- /dev/null +++ b/ui/src/components/ai-dialog/index.vue @@ -0,0 +1,20 @@ + + + + + + + XXXXXXXXX + XXXXXXXXX + + + + + diff --git a/ui/src/components/card-box/index.vue b/ui/src/components/card-box/index.vue index 34ead065e..aed8ea2ad 100644 --- a/ui/src/components/card-box/index.vue +++ b/ui/src/components/card-box/index.vue @@ -53,7 +53,7 @@ function cardLeave() { font-size: 14px; position: relative; min-height: var(--card-min-height); - + border: 1px solid #ffffff; .description { display: -webkit-box; -webkit-box-orient: vertical; diff --git a/ui/src/components/tag-ellipsis/index.vue b/ui/src/components/tag-ellipsis/index.vue index 098774af9..09ec24de7 100644 --- a/ui/src/components/tag-ellipsis/index.vue +++ b/ui/src/components/tag-ellipsis/index.vue @@ -16,7 +16,7 @@ import { ref, computed, useSlots } from 'vue' defineOptions({ name: 'TagEllipsis' }) const slots = useSlots() -const tooltipContent = slots.default()?.[0].children || '' +const tooltipContent = slots.default?.()?.[0].children || '' const tagLabel = ref() const isShowTooltip = computed(() => { const containerWeight = tagLabel.value?.scrollWidth diff --git a/ui/src/router/modules/application.ts b/ui/src/router/modules/application.ts index da630133d..763243d65 100644 --- a/ui/src/router/modules/application.ts +++ b/ui/src/router/modules/application.ts @@ -11,7 +11,7 @@ const applicationRouter = { component: () => import('@/views/application/index.vue') }, { - path: '/application/create', // create + path: '/application/create', name: 'CreateApplication', meta: { activeMenu: '/application' }, component: () => import('@/views/application/CreateApplication.vue'), diff --git a/ui/src/router/routes.ts b/ui/src/router/routes.ts index b127cfe5d..b894a7405 100644 --- a/ui/src/router/routes.ts +++ b/ui/src/router/routes.ts @@ -9,7 +9,7 @@ export const routes: Array = [ path: '/', name: 'home', component: () => import('@/layout/app-layout/index.vue'), - redirect: '/dataset', + redirect: '/application', children: [ // { // path: '/first', diff --git a/ui/src/views/application/CreateApplication.vue b/ui/src/views/application/CreateApplication.vue index 9e07d9608..6d3a66b37 100644 --- a/ui/src/views/application/CreateApplication.vue +++ b/ui/src/views/application/CreateApplication.vue @@ -1,8 +1,9 @@ - - 创建应用 - + + + diff --git a/ui/src/views/dataset/component/EditParagraphDialog.vue b/ui/src/views/dataset/component/EditParagraphDialog.vue index ca9d1d6f0..99a09b49f 100644 --- a/ui/src/views/dataset/component/EditParagraphDialog.vue +++ b/ui/src/views/dataset/component/EditParagraphDialog.vue @@ -1,6 +1,6 @@ - + 取消 diff --git a/ui/src/views/dataset/step/StepSecond.vue b/ui/src/views/dataset/step/StepSecond.vue index 9a3426160..e7c56609c 100644 --- a/ui/src/views/dataset/step/StepSecond.vue +++ b/ui/src/views/dataset/step/StepSecond.vue @@ -1,7 +1,7 @@ - + 设置分段规则 @@ -70,7 +70,7 @@ - + 分段预览 diff --git a/ui/src/views/paragraph/component/ParagraphDialog.vue b/ui/src/views/paragraph/component/ParagraphDialog.vue index 4f7bc34b4..9c1c5c6b2 100644 --- a/ui/src/views/paragraph/component/ParagraphDialog.vue +++ b/ui/src/views/paragraph/component/ParagraphDialog.vue @@ -42,7 +42,6 @@