# 修正filename

This commit is contained in:
xianfuxing 2020-06-02 17:40:24 +08:00
parent 685df8f73b
commit 2e55a1729d
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ export default {
this.downloadLoading = true
this.logsListQuery.limit = 10000
await this.getDeviceLogs(this.logsListQuery, 'export')
this.filename = 'Device Log List ' + String(start).replace(/-/g, '') + '_' + String(end).replace(/-/, '') + '.xlsx'
this.filename = 'Device Log List ' + String(start).replace(/-/g, '') + '_' + String(end).replace(/-/g, '') + '.xlsx'
import('@/vendor/Export2Excel').then(excel => {
const tHeader = ['Id', 'Time', 'Device ID', 'Device Name', 'Signal', 'Count', 'Energy', 'Coordinate']