正在显示
1 个修改的文件
包含
5 行增加
和
3 行删除
@@ -216,11 +216,13 @@ | @@ -216,11 +216,13 @@ | ||
216 | addPrediction(this.departure).then(res=>{ | 216 | addPrediction(this.departure).then(res=>{ |
217 | let response=res.data; | 217 | let response=res.data; |
218 | if(response.code=='200'){ | 218 | if(response.code=='200'){ |
219 | - this.centerDialogVisible=true; | ||
220 | - this.msg=response.msg; | 219 | + //this.centerDialogVisible=true; |
220 | + //this.msg=response.msg; | ||
221 | + this.$message.success(response.msg) | ||
221 | this.$router.push({path:'/queryDeparture',query:{flightNo:this.departure.flightNo,flightDate:this.departure.flightDate}}); | 222 | this.$router.push({path:'/queryDeparture',query:{flightNo:this.departure.flightNo,flightDate:this.departure.flightDate}}); |
222 | }else{ | 223 | }else{ |
223 | - this.msg=response.msg; | 224 | + //this.msg=response.msg; |
225 | + this.$message.error(response.msg) | ||
224 | } | 226 | } |
225 | }); | 227 | }); |
226 | } else { | 228 | } else { |
-
请 注册 或 登录 后发表评论