src/sfc/ExceptionText.vue
@@ -17,7 +17,7 @@ methods: { requestExceptionData(){ axiosInstance.get('/fume/abnormaltwo',{params:{"devId":this.devId,"exceptionValue":this.exceptionValue,"beginTime":this.beginTime,"endTime":this.endTime }}).then(result =>{ axiosInstance.get('/fume/abnormalthree',{params:{"devId":this.devId,"exceptionValue":this.exceptionValue,"beginTime":this.beginTime,"endTime":this.endTime }}).then(result =>{ //将返回的结果传递给父组件 this.$emit('submitExceptionData',result.data.data) })