diff --git a/ui/src/views/dataset/component/BaseForm.vue b/ui/src/views/dataset/component/BaseForm.vue index 5b2af844..e0b8ffaf 100644 --- a/ui/src/views/dataset/component/BaseForm.vue +++ b/ui/src/views/dataset/component/BaseForm.vue @@ -13,6 +13,7 @@ placeholder="请输入知识库名称" maxlength="64" show-word-limit + @blur="form.name = form.name.trim()" /> @@ -23,6 +24,7 @@ maxlength="500" show-word-limit :autosize="{ minRows: 3 }" + @blur="form.desc = form.desc.trim()" /> @@ -41,8 +43,7 @@ const { dataset } = useStore() const baseInfo = computed(() => dataset.baseInfo) const form = ref({ name: '', - desc: '', - + desc: '' }) const rules = reactive({ diff --git a/ui/src/views/log/component/ChatRecordDrawer.vue b/ui/src/views/log/component/ChatRecordDrawer.vue index 3109aa63..2d917250 100644 --- a/ui/src/views/log/component/ChatRecordDrawer.vue +++ b/ui/src/views/log/component/ChatRecordDrawer.vue @@ -1,5 +1,5 @@