sunyadv 5 éve
szülő
commit
086ac3e397

+ 2 - 2
ys_int/src/views/mold/moldDetail.vue

@@ -1178,10 +1178,10 @@
                 res => {
                     if(type == 1) {
                         if(all.part2dFile != null) {
-                            this.downloadByA(all.fileUrl,all.fileName)
+                            this.downloadByA(all.part2dFile.fileUrl,all.part2dFile.fileName)
                         }
                         if(all.part3dFile != null) {
-                            this.downloadByA(all.fileUrl,all.fileName)
+                            this.downloadByA(all.part3dFile.fileUrl,all.part3dFile.fileName)
                         }
                     } else if(type == 5) {
                         if(all.fileUrl != null) {

+ 2 - 2
ys_vue/src/views/mold/moldDetail.vue

@@ -1143,10 +1143,10 @@
                 res => {
                     if(type == 1) {
                         if(all.part2dFile != null) {
-                            this.downloadByA(all.fileUrl,all.fileName)
+                            this.downloadByA(all.part2dFile.fileUrl,all.part2dFile.fileName)
                         }
                         if(all.part3dFile != null) {
-                            this.downloadByA(all.fileUrl,all.fileName)
+                            this.downloadByA(all.part3dFile.fileUrl,all.part3dFile.fileName)
                         }
                     } else if(type == 5) {
                         if(all.fileUrl != null) {