jwyu 8 months ago
parent
commit
166542fca8
1 changed files with 3 additions and 3 deletions
  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]
     }