Commit 5f6145b6 authored by nick zheng's avatar nick zheng

chore(知识库切片): 问答知识库新建和编辑问答UI调整

parent 8fc8b236
...@@ -83,7 +83,8 @@ function handleAddKnowledgeChunk() { ...@@ -83,7 +83,8 @@ function handleAddKnowledgeChunk() {
v-model:is-show="isShow" v-model:is-show="isShow"
:title="t('personal_space_module.knowledge_module.add_QA_data')" :title="t('personal_space_module.knowledge_module.add_QA_data')"
:btn-loading="btnLoading" :btn-loading="btnLoading"
:width="1000" :width="1340"
:height="502"
@confirm="handleAddKnowledgeChunk" @confirm="handleAddKnowledgeChunk"
> >
<template #content> <template #content>
...@@ -128,10 +129,10 @@ function handleAddKnowledgeChunk() { ...@@ -128,10 +129,10 @@ function handleAddKnowledgeChunk() {
v-model:value="chunkItem.content" v-model:value="chunkItem.content"
type="textarea" type="textarea"
:placeholder="t('personal_space_module.knowledge_module.please_enter_the_content')" :placeholder="t('personal_space_module.knowledge_module.please_enter_the_content')"
class="chunk-content-input h-[110px]" class="chunk-content-input h-[228px]"
:autosize="{ :autosize="{
minRows: 4, minRows: 10,
maxRows: 4, maxRows: 10,
}" }"
:maxlength="850" :maxlength="850"
/> />
......
...@@ -85,7 +85,8 @@ function handleAddKnowledgeChunk() { ...@@ -85,7 +85,8 @@ function handleAddKnowledgeChunk() {
v-model:is-show="isShow" v-model:is-show="isShow"
:title="t('personal_space_module.knowledge_module.edit_QA_data')" :title="t('personal_space_module.knowledge_module.edit_QA_data')"
:btn-loading="btnLoading" :btn-loading="btnLoading"
:width="1000" :width="1340"
:height="502"
@confirm="handleAddKnowledgeChunk" @confirm="handleAddKnowledgeChunk"
> >
<template #content> <template #content>
...@@ -130,10 +131,10 @@ function handleAddKnowledgeChunk() { ...@@ -130,10 +131,10 @@ function handleAddKnowledgeChunk() {
v-model:value="chunkItem.content" v-model:value="chunkItem.content"
type="textarea" type="textarea"
:placeholder="t('personal_space_module.knowledge_module.please_enter_the_content')" :placeholder="t('personal_space_module.knowledge_module.please_enter_the_content')"
class="chunk-content-input h-[110px]" class="chunk-content-input h-[228px]"
:autosize="{ :autosize="{
minRows: 4, minRows: 10,
maxRows: 4, maxRows: 10,
}" }"
:maxlength="850" :maxlength="850"
/> />
......
...@@ -85,7 +85,7 @@ const handleKnowledgeTableAction = useDebounceFn((chunkKeyItem: QAKnowledgeChunk ...@@ -85,7 +85,7 @@ const handleKnowledgeTableAction = useDebounceFn((chunkKeyItem: QAKnowledgeChunk
:columns="chunkIndexColumns" :columns="chunkIndexColumns"
:data="knowledgeChunkKeyList" :data="knowledgeChunkKeyList"
:max-height="300" :max-height="300"
class="mb-1" class="mb-4"
/> />
</template> </template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment