This commit is contained in:
wangdan-fit2cloud 2023-12-19 17:57:11 +08:00
parent 16b4d29802
commit 98ba0c0db8
2 changed files with 4 additions and 3 deletions

View File

@ -13,6 +13,7 @@
placeholder="请输入知识库名称" placeholder="请输入知识库名称"
maxlength="64" maxlength="64"
show-word-limit show-word-limit
@blur="form.name = form.name.trim()"
/> />
</el-form-item> </el-form-item>
<el-form-item label="知识库描述" prop="desc"> <el-form-item label="知识库描述" prop="desc">
@ -23,6 +24,7 @@
maxlength="500" maxlength="500"
show-word-limit show-word-limit
:autosize="{ minRows: 3 }" :autosize="{ minRows: 3 }"
@blur="form.desc = form.desc.trim()"
/> />
</el-form-item> </el-form-item>
</el-form> </el-form>
@ -41,8 +43,7 @@ const { dataset } = useStore()
const baseInfo = computed(() => dataset.baseInfo) const baseInfo = computed(() => dataset.baseInfo)
const form = ref<any>({ const form = ref<any>({
name: '', name: '',
desc: '', desc: ''
}) })
const rules = reactive({ const rules = reactive({

View File

@ -1,5 +1,5 @@
<template> <template>
<el-drawer v-model="visible" size="600" @close="closeHandel" class="chat-record-drawer"> <el-drawer v-model="visible" size="60%" @close="closeHandel" class="chat-record-drawer">
<template #header> <template #header>
<h4>{{ application?.name }}</h4> <h4>{{ application?.name }}</h4>
</template> </template>