fix: OCR识别修改获取文件的路径
This commit is contained in:
@@ -723,6 +723,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import {baseUrl} from '@/sysConfig'
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
export default {
|
export default {
|
||||||
name: "StandardRecognition",
|
name: "StandardRecognition",
|
||||||
@@ -1276,7 +1277,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 获取doc文件
|
// 获取doc文件
|
||||||
downloadFile(data) {
|
downloadFile(data) {
|
||||||
let URL = 'https://srms.foton.com.cn/ocrResultFile/' + data.docRealName
|
let URL = baseUrl + '/ocrResultFile/' + data.docRealName
|
||||||
window.open(URL)
|
window.open(URL)
|
||||||
// console.log(URL);
|
// console.log(URL);
|
||||||
// window.open(data.docRealFile);
|
// window.open(data.docRealFile);
|
||||||
|
|||||||
Reference in New Issue
Block a user