Merge branch 'main' of github.com:maxkb-dev/maxkb

This commit is contained in:
shaohuzhang1 2024-01-24 10:28:29 +08:00
commit 2008758cc7
3 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@
<el-form-item label="引用分段"> <el-form-item label="引用分段">
<template v-for="(item, index) in detail.paragraph_list" :key="index"> <template v-for="(item, index) in detail.paragraph_list" :key="index">
<CardBox <CardBox
shadow="hover" shadow="none"
:title="item.title || '-'" :title="item.title || '-'"
:description="item.content" :description="item.content"
class="paragraph-source-card cursor mb-8" class="paragraph-source-card cursor mb-8"

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="breadcrumb ml-8 mt-4 mb-12 flex"> <div class="breadcrumb ml-4 mt-4 mb-12 flex">
<back-button :to="activeMenu" class="mt-4"></back-button> <back-button :to="activeMenu" class="mt-4"></back-button>
<el-dropdown <el-dropdown
placement="top" placement="top"
@ -181,7 +181,7 @@ onMounted(() => {
} }
.breadcrumb { .breadcrumb {
.breadcrumb-hover { .breadcrumb-hover {
padding: 4px 4px 4px 0; padding: 4px;
border-radius: 4px; border-radius: 4px;
&:hover { &:hover {
background: var(--el-color-primary-light-9); background: var(--el-color-primary-light-9);

View File

@ -152,7 +152,7 @@ function getDataset(resolve: any) {
} }
const open = (data: any) => { const open = (data: any) => {
form.value.chat_id = data.chat form.value.chat_id = data.chat_id
form.value.record_id = data.id form.value.record_id = data.id
form.value.problem_text = data.problem_text form.value.problem_text = data.problem_text
form.value.content = data.answer_text form.value.content = data.answer_text