作者 小范

原始舱单页面报错已解决

@@ -161,10 +161,10 @@ @@ -161,10 +161,10 @@
161 getDefaultData(){ 161 getDefaultData(){
162 if(this.$route.query!=null){ 162 if(this.$route.query!=null){
163 console.log(this.$route.query) 163 console.log(this.$route.query)
164 - this.ruleForm.flightno=JSON.parse(this.$route.query.flightno);  
165 - this.ruleForm.flightdate=JSON.parse(this.$route.query.flightdate);  
166 - this.ruleForm.originstation=JSON.parse(this.$route.query.originstation);  
167 - this.ruleForm.destinationstation=JSON.parse(this.$route.query.destinationstation); 164 + this.ruleForm.flightno=this.$route.query.flightno;
  165 + this.ruleForm.flightdate=this.$route.query.flightdate;
  166 + this.ruleForm.originstation=this.$route.query.originstation;
  167 + this.ruleForm.destinationstation=this.$route.query.destinationstation;
168 } 168 }
169 } 169 }
170 }, 170 },
1 { 1 {
2 - "nmmsVer": "1.04" 2 + "nmmsVer": "1.05"
3 } 3 }