🐞 fix: 修复类型校验问题

This commit is contained in:
alger
2025-01-06 22:15:25 +08:00
parent f640ab9969
commit a894954641
3 changed files with 1 additions and 29 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ export const getLatestReleaseInfo = async (): Promise<GithubReleaseInfo | null>
/**
* 格式化时间
*/
const formatDate = (dateStr: string): string => {
export const formatDate = (dateStr: string): string => {
return useDateFormat(new Date(dateStr), 'YYYY-MM-DD HH:mm').value;
};