فهرست منبع

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)