Idea编程前端疑问导出全部excel,是怎么调用后台服务的?

toExcel () {
if (this.searchData.jh === '') {
this.$message.info('选择要导出的内容')
return
}
if (this.activeName === 'first') {
this.$refs.realTimeData.toExcel()
} else {
this.$refs.highFrequencyData.toExcel()
} },

这个倒不一定是后台导出,也可以能是前导出不调后台的,你可以在浏览器里F12里,当执行上面这个代码时,看看是否有向后台发送数据,另外可以搜索一下这个toExcel是在哪个js里定义的。
温馨提示:答案为网友推荐,仅供参考