exportData(val){
//初始化表格数据
this.tableData = val
this.dataIsReturn = true
},
async fetchData(){
this.showFormData('export')
let res = await new Promise((resolve, reject) => {
//轮询
this.fetchDataTimer = setInterval(() => {
if(this.dataIsReturn){
this.fetchDataTimer = null
this.dataIsReturn = false
resolve(true)
}
},1000)
})
return this.exportData
},