jwyu 8 mēneši atpakaļ
vecāks
revīzija
166542fca8
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      src/views/report/pdf/components/EditPdf.vue

+ 3 - 3
src/views/report/pdf/components/EditPdf.vue

@@ -33,10 +33,10 @@ watch(()=>show.value,(n)=>{
     formData.fileUrl=props.defaultData.PdfUrl
     formData.fileName=props.defaultData.PdfName
     formData.title=props.defaultData.Title
-    if(props.defaultData.ClassifyIdSecond){
-      formData.classify=[props.defaultData.ClassifyIdFirst,props.defaultData.ClassifyIdSecond]
-    }else if(props.defaultData.ClassifyIdThird){
+    if(props.defaultData.ClassifyIdThird){
       formData.classify=[props.defaultData.ClassifyIdFirst,props.defaultData.ClassifyIdSecond,props.defaultData.ClassifyIdThird]
+    }else if(props.defaultData.ClassifyIdSecond){
+      formData.classify=[props.defaultData.ClassifyIdFirst,props.defaultData.ClassifyIdSecond]
     }else{
       formData.classify=[props.defaultData.ClassifyIdFirst]
     }