liuhj 10 months ago
parent
commit
d2f9c1f63f
1 changed files with 8 additions and 1 deletions
  1. 8 1
      src/components/Sankunginfo.vue

+ 8 - 1
src/components/Sankunginfo.vue

@@ -19,12 +19,19 @@ export default {
             src:''
         }
     },
-    mounted(){
+    created(){
         let clientHeight=document.documentElement.clientHeight || document.body.clientHeight;
         this.heights=clientHeight;
         this.fileName = this.$route.query.fileName;
         this.id = this.$route.query.sign;
         this.src="http://132.232.92.186:24/Office/Word/EnterExitCost/File/"+this.fileName
+    },
+    mounted(){
+        // let clientHeight=document.documentElement.clientHeight || document.body.clientHeight;
+        // this.heights=clientHeight;
+        // this.fileName = this.$route.query.fileName;
+        // this.id = this.$route.query.sign;
+        // this.src="http://132.232.92.186:24/Office/Word/EnterExitCost/File/"+this.fileName
     }
 }
 </script>