fix:光芯大屏左上角时间

This commit is contained in:
shijing 2025-07-24 13:33:58 +08:00
parent b7cc7913a6
commit f90e9524f1
1 changed files with 6 additions and 1 deletions

View File

@ -3,7 +3,8 @@
<header class="pageHeader"> <header class="pageHeader">
<div class="header_center_text">{{ bigScreenName }}</div> <div class="header_center_text">{{ bigScreenName }}</div>
<div class="header_left"> <div class="header_left">
<span>{{ currentYear }}{{ currentMonth }}{{ currentDay }}{{currentWeek}}</span> <!-- <span>{{ currentYear }}{{ currentMonth }}{{ currentDay }}{{currentWeek}}</span> -->
<span>{{ currentDate }}{{currentWeek}}</span>
</div> </div>
<div class="header_right"> <div class="header_right">
<span>{{ currentTime }}</span> <span>{{ currentTime }}</span>
@ -617,6 +618,10 @@ export default {
that.getTaskNumber(); that.getTaskNumber();
that.getArticles(); that.getArticles();
that.getpurinrate(); that.getpurinrate();
let nowDate = new Date();
that.currentYear = nowDate.getFullYear();
that.currentMonth = nowDate.getMonth() + 1;
that.currentDay = nowDate.getDate();
}, 300000); }, 300000);
}, },
// //