前台 this.$axios.get('/api/faultyDiagnosisManager/getSxdNetAlarm', // 少写下面的3行害死人,不易察觉 { params: {} } ).then(response => { _this.setConfigData(response.data) }).catch(function (error) { alert('error' + error) })