This commit is contained in:
2024-11-22 13:24:34 +08:00
parent 7da4003f6b
commit bfb10320f7
2 changed files with 5 additions and 2 deletions
+1
View File
@@ -9,6 +9,7 @@ export function getZero(num: any) {
}
export function useTopTime(startDay = '2018-10-01') {
startDay = startDay || '2018-10-01';
const timeLeft = dayjs().format('YYYY年MM月DD日 HH时mm分ss秒');
const timeRight = dayjs().diff(dayjs(startDay), 'day') + '天';
// +