王智慧 3 年 前
コミット
a67b960ff2
1 ファイル変更5 行追加2 行削除
  1. 5 2
      src/components/ShipInfo.vue

+ 5 - 2
src/components/ShipInfo.vue

@@ -122,7 +122,11 @@
           :uploaderId="'certsId' + 'country'"
           :params="
             shipInfos[currentIndex].code
-              ? { ...updateParams, type: item.type }
+              ? {
+                  ...updateParams,
+                  shipCode: shipInfos[currentIndex].code,
+                  type: item.type,
+                }
               : addParams
           "
           :actionUrl="
@@ -171,7 +175,6 @@ function initCerts(certs) {
   console.log(certs);
 }
 let updateParams = ref({
-  shipCode: props.shipInfos[currentIndex.value].code,
   loginAccountId: localStorage.loginAccountId,
 });
 let addParams = ref({