Using the native derivation method bootstrap Table comes, when the field is the time, it will automatically show hide seconds to minutes, which lasted two days and finally found a way to
Reference link: https: //ask.fastadmin.net/question/1346.html
Methods api Description: https://github.com/hhurz/tableExport.jquery.plugin
the ExportOptions: { ignoreColumn: [], // ignore the column index fileName: enterpriseName + '-' + deviceName + '' + startTimeName, // table name worksheetName: 'historical data', // workspace name of the type: 'Excel', onMsoNumberFormat: function (cell, row, col) {// LCyT number into text, text can be converted to time format display second return (Row> 0 == 0 && COL) '\\ @':? ''; } }
Increase in the red part can in exportOptions.