fix: OCR识别修改获取文件的路径

This commit is contained in:
wxyclub
2024-07-05 17:19:21 +08:00
parent db5b4ef5a8
commit 1115fc3cb0
@@ -723,6 +723,7 @@
</template>
<script>
import {baseUrl} from '@/sysConfig'
import axios from 'axios'
export default {
name: "StandardRecognition",
@@ -1276,7 +1277,7 @@ export default {
},
// 获取doc文件
downloadFile(data) {
let URL = 'https://srms.foton.com.cn/ocrResultFile/' + data.docRealName
let URL = baseUrl + '/ocrResultFile/' + data.docRealName
window.open(URL)
// console.log(URL);
// window.open(data.docRealFile);