2a63094a by lihua

修改下载传参

1 parent bc17f639
...@@ -485,7 +485,7 @@ const downloadFile = (productDetailItem) => { ...@@ -485,7 +485,7 @@ const downloadFile = (productDetailItem) => {
485 } else {// 使用次数需要先调用 485 } else {// 使用次数需要先调用
486 downloadFileCheck({ 486 downloadFileCheck({
487 userGuid: route.query.useGuid, 487 userGuid: route.query.useGuid,
488 fileName: productDetailItem 488 fileName: productDetailItem.name
489 }).then((res: any) => { 489 }).then((res: any) => {
490 if (res?.code == proxy.$passCode) { 490 if (res?.code == proxy.$passCode) {
491 onUploadFileDownload(productDetailItem); 491 onUploadFileDownload(productDetailItem);
...@@ -1518,7 +1518,7 @@ const respParamsTableInfo = ref({ ...@@ -1518,7 +1518,7 @@ const respParamsTableInfo = ref({
1518 查看 1518 查看
1519 </div> --> 1519 </div> -->
1520 <div :style="{ right: '0px' }" class="file-preview" v-if="foundMode == 'download' || foundMode == 'readAndDown' || foundMode == '1'" 1520 <div :style="{ right: '0px' }" class="file-preview" v-if="foundMode == 'download' || foundMode == 'readAndDown' || foundMode == '1'"
1521 @click="downloadFile">下载</div> 1521 @click="downloadFile(productDetailItem)">下载</div>
1522 </div> 1522 </div>
1523 </span> 1523 </span>
1524 </span> 1524 </span>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!