diff options
Diffstat (limited to 'site/src')
| -rw-r--r-- | site/src/App.vue | 2 | ||||
| -rw-r--r-- | site/src/components/Left.vue | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/site/src/App.vue b/site/src/App.vue index e3124b4..bf7fa55 100644 --- a/site/src/App.vue +++ b/site/src/App.vue @@ -8,7 +8,7 @@ import TheWelcome from './components/TheWelcome.vue' <img alt="Vue logo" class="logo" src="./assets/Hydroroll-small.svg" width="125" height="125" /> <div class="wrapper"> - <Left msg="饼在画了!" date="2024-05-10T12:00:00Z" /> + <Left msg="饼在画了!" /> </div> </header> diff --git a/site/src/components/Left.vue b/site/src/components/Left.vue index 342e49b..331c881 100644 --- a/site/src/components/Left.vue +++ b/site/src/components/Left.vue @@ -16,7 +16,7 @@ export default { }, date:{ type:Date, - default:'2024-05-10T12:00:00Z' + default:new Date('2024-05-10T12:00:00Z') } }, methods:{ @@ -47,7 +47,7 @@ export default { 距离水系公测还有 </h3> <h2> - {{ day }}d {{ hour }}h {{ min }}m {{ sec }}s + {{ day }} 天 {{ hour }} 时 {{ min }} 分 {{ sec }} 秒 </h2> </div> </template> |
