fix[complexTable]: fixed export_json_to_excel bug
This commit is contained in:
		@@ -335,7 +335,11 @@ export default {
 | 
				
			|||||||
        const tHeader = ['timestamp', 'title', 'type', 'importance', 'status']
 | 
					        const tHeader = ['timestamp', 'title', 'type', 'importance', 'status']
 | 
				
			||||||
        const filterVal = ['timestamp', 'title', 'type', 'importance', 'status']
 | 
					        const filterVal = ['timestamp', 'title', 'type', 'importance', 'status']
 | 
				
			||||||
        const data = this.formatJson(filterVal, this.list)
 | 
					        const data = this.formatJson(filterVal, this.list)
 | 
				
			||||||
        excel.export_json_to_excel(tHeader, data, 'table-list')
 | 
					        excel.export_json_to_excel({
 | 
				
			||||||
 | 
					          header: tHeader,
 | 
				
			||||||
 | 
					          data,
 | 
				
			||||||
 | 
					          filename: 'table-list'
 | 
				
			||||||
 | 
					        })
 | 
				
			||||||
        this.downloadLoading = false
 | 
					        this.downloadLoading = false
 | 
				
			||||||
      })
 | 
					      })
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user