mirror of
https://github.com/haiwen/seahub.git
synced 2025-10-01 18:27:03 +00:00
fix code format (#6365)
This commit is contained in:
@@ -40,7 +40,7 @@ class LogsExportExcelDialog extends React.Component {
|
||||
}
|
||||
};
|
||||
|
||||
sysExportLogs = (logType) =>{
|
||||
sysExportLogs = (logType) => {
|
||||
let { startDateStr, endDateStr } = this.state;
|
||||
let task_id = '';
|
||||
systemAdminAPI.sysAdminExportLogsExcel(startDateStr, endDateStr, logType).then(res => {
|
||||
@@ -57,7 +57,7 @@ class LogsExportExcelDialog extends React.Component {
|
||||
this.timer = setInterval(() => {
|
||||
systemAdminAPI.queryAsyncOperationExportExcel(task_id).then(res => {
|
||||
if (res.data.is_finished === true){
|
||||
this.setState({isFinished: true});
|
||||
this.setState({ isFinished: true });
|
||||
clearInterval(this.timer);
|
||||
location.href = siteRoot + 'sys/log/export-excel/?task_id=' + task_id + '&log_type=' + logType;
|
||||
}
|
||||
|
Reference in New Issue
Block a user