From 3e761c9ff45da3f48fc1c77d4b32a3e86fe950d5 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期四, 17 七月 2025 16:45:35 +0800 Subject: [PATCH] 修改了字 --- ruoyi-ui/src/views/qrcode/pdscanInfo.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/views/qrcode/pdscanInfo.vue b/ruoyi-ui/src/views/qrcode/pdscanInfo.vue index 4cfab4b..b56fec0 100644 --- a/ruoyi-ui/src/views/qrcode/pdscanInfo.vue +++ b/ruoyi-ui/src/views/qrcode/pdscanInfo.vue @@ -21,7 +21,8 @@ </template> <script> -import {listFScan,getFScanInfo,addFScan,delFScan,getFSInfo,updateFScan, uploadPic, uploadPic1, download} from "@/api/fscan/index"; +import {listFScan,getFScanInfo,addFScan,delFScan,getFSInfo, +updateFScan, uploadPic, uploadPic1, download} from "@/api/fscan/index"; import {blobValidate} from "@/utils/ruoyi"; export default { // components: { @@ -38,10 +39,11 @@ }, mounted() { - const id = (this.$route.query.id) + const id = this.$route.params && this.$route.params.id; + //alert(id) //鍙戣捣璇锋眰鎷垮埌pdfSrc let _this = this - getFScanInfo(id).then(response => { + getFScanInfo(parseInt(id)).then(response => { //console.log(response) -- Gitblit v1.9.1