From 1a4969ff85e77c7a77b079f5f14c8f56221d9b3b Mon Sep 17 00:00:00 2001 From: danshihao Date: Fri, 30 Aug 2024 16:26:47 +0800 Subject: [PATCH] =?UTF-8?q?[update=20OCR]=20=E4=B8=8A=E4=BC=A0=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E5=90=8E=E5=BC=B9=E6=A1=86=E6=B2=A1=E6=9C=89=E5=85=B3?= =?UTF-8?q?=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ocrTextRecognition/modules/OcrTextRecognitionModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/documentTool/ocrTextRecognition/modules/OcrTextRecognitionModal.vue b/src/views/documentTool/ocrTextRecognition/modules/OcrTextRecognitionModal.vue index 73bb903..7890517 100644 --- a/src/views/documentTool/ocrTextRecognition/modules/OcrTextRecognitionModal.vue +++ b/src/views/documentTool/ocrTextRecognition/modules/OcrTextRecognitionModal.vue @@ -145,7 +145,7 @@ export default { const params = Object.assign({}, this.model, values) const url = this.model.id ? this.url.edit : this.url.add postAction(url, params).then((res) => { - if (res.success) { + if (res.ok) { that.$message.success(res.message) that.close() } else {