Browse Source

第一天配置

CzRger 1 year ago
parent
commit
34f3d0e757
2 changed files with 2 additions and 1 deletions
  1. 1 0
      src/out/config.js
  2. 1 1
      src/store/modules/app.ts

+ 1 - 0
src/out/config.js

@@ -1,2 +1,3 @@
 window.cusConfig = {
+    projectFirstDate: '2023-11-24 00:00:00'
 }

+ 1 - 1
src/store/modules/app.ts

@@ -32,7 +32,7 @@ const state = {
 	signInfo: null,
 	dailyInfo: null,
 	weeklyInfo: null,
-	projectFirstDate: new Date('2023-11-24 00:00:00'),
+	projectFirstDate: new Date(window.cusConfig.projectFirstDate),
 }
 
 const getters = {