From 44ea0e635d6e200384eed42d8ab86d3f52d6da35 Mon Sep 17 00:00:00 2001
From: zhouc
Date: Tue, 4 Mar 2025 18:11:54 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9ai=E6=8F=90=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/pdf/ocr/index.vue | 2 +-
src/views/pdf/splitbypage/index.vue | 20 ++++++++++++--------
2 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/src/views/pdf/ocr/index.vue b/src/views/pdf/ocr/index.vue
index 106e995..5d06e28 100644
--- a/src/views/pdf/ocr/index.vue
+++ b/src/views/pdf/ocr/index.vue
@@ -21,7 +21,7 @@ onChange(async () => {
loading.value = true
ocrResult.value = await getOcrResult({
file: files.value.item(0),
- msg: '请识别图片中的文字,结果以markdown格式输出',
+ msg: '识别图像内容,根据内容用makedown格式整理输出。',
})
loading.value = false
reset()
diff --git a/src/views/pdf/splitbypage/index.vue b/src/views/pdf/splitbypage/index.vue
index c3628d4..f2ff729 100644
--- a/src/views/pdf/splitbypage/index.vue
+++ b/src/views/pdf/splitbypage/index.vue
@@ -5,6 +5,7 @@ import { message } from 'ant-design-vue'
import type { UploadChangeParam } from 'ant-design-vue'
const fileList_left = ref([])
+
function handleChange_left(info: UploadChangeParam) {
const status = info.file.status
if (status !== 'uploading')
@@ -24,6 +25,7 @@ function handleDrop_left(e: DragEvent) {
}
const fileList = ref([])
+
function handleChange(info: UploadChangeParam) {
const status = info.file.status
if (status !== 'uploading')
@@ -60,8 +62,10 @@ function handleDrop(e: DragEvent) {
- 单击或拖动文件到此区域进行上传,Click or drag file to this area
- to upload
+ 单击或拖动文件到此区域进行上传
+
+
+ 一次只支持上传一个文件
@@ -88,13 +92,13 @@ function handleDrop(e: DragEvent) {
- Click or drag file to this area to upload
-
-
- Support for a single or bulk upload. Strictly prohibit from uploading company data or
- other
- band files
+ 拆分后结果
+
+
+
+
+