feat: 优化页面
This commit is contained in:
parent
6025bdcbba
commit
718ee9abcf
@ -279,8 +279,8 @@
|
|||||||
|
|
||||||
function initializeDatePickers() {
|
function initializeDatePickers() {
|
||||||
const now = new Date();
|
const now = new Date();
|
||||||
const tenDaysMs = 10 * 24 * 60 * 60 * 1000;
|
const twoDaysMs = 2 * 24 * 60 * 60 * 1000;
|
||||||
const begin = new Date(now.getTime() - tenDaysMs);
|
const begin = new Date(now.getTime() - twoDaysMs);
|
||||||
|
|
||||||
function fmt(dt) {
|
function fmt(dt) {
|
||||||
const y = dt.getFullYear();
|
const y = dt.getFullYear();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user