发起变更保存和提交完成

This commit is contained in:
2026-09-10 16:10:06 +08:00
parent db8100130a
commit 8e2bc84b02
5 changed files with 76 additions and 34 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ export const getColorWithOpacity = (color: string, opacity: number) => {
};
// 时间戳转换成年月日时分秒
export function formatTimestamp(timestamp: number | string,format: string = 'yyyy-MM-dd HH:mm:ss') {
export function formatTimestamp(timestamp: number | string | Date | null,format: string = 'yyyy-MM-dd HH:mm:ss') {
if(!timestamp) {
return '';
}