You've already forked DataMate
feat:修复下载数据集问题、删除数据确认框、修改标题、添加列表轮询刷新 (#16)
* refactor: clean up tag management and dataset handling, update API endpoints * feat: add showTime prop to DevelopmentInProgress component across multiple pages * refactor: update component styles and improve layout with new utility classes * feat: enhance useFetchData hook with polling functionality and improve task progress tracking * feat: enhance dataset management features with improved tag handling, download functionality, and UI updates * feat: Enhance DatasetDetail component with delete functionality and improved download handling feat: Add automatic data refresh and improved user feedback in DatasetManagementPage fix: Update dataset API to streamline download functionality and improve error handling * feat: Clear new tag input after successful addition in TagManager
This commit is contained in:
@@ -64,6 +64,7 @@ export function formatExecutionDuration(
|
||||
}
|
||||
|
||||
export const formatDuration = (seconds: number): string => {
|
||||
if (seconds < 0) return "--";
|
||||
if (seconds < 60) {
|
||||
return `${seconds} 秒`;
|
||||
} else if (seconds < 3600) {
|
||||
|
||||
Reference in New Issue
Block a user