1
0
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:
Michael An
2024-07-18 11:58:42 +08:00
committed by GitHub
parent c5d02b33b2
commit 67210c7363
450 changed files with 2425 additions and 2385 deletions

View File

@@ -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;
}