소스 검색

fix: 移除parseInt并添加console.log调试参数

yz 4 주 전
부모
커밋
d09643c05d
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/api/order/image-store-apply.js
  2. 1 1
      src/views/order/image-store-apply/index.vue

+ 1 - 1
src/api/order/image-store-apply.js

@@ -168,4 +168,4 @@ export const getAttachmentList = (current, size, params) => {
       size
     }
   })
-}
+}

+ 1 - 1
src/views/order/image-store-apply/index.vue

@@ -781,7 +781,7 @@ export default {
     async loadAttachments(applyId) {
       try {
         this.attachmentLoading = true
-        const res = await getAttachmentList(1, 100, { applyId: parseInt(applyId) })
+        const res = await getAttachmentList(1, 100, { applyId: applyId })
         this.attachmentList = res.data.data.records || []
       } catch (error) {
         console.error('获取附件列表失败:', error)