Merge pull request 'fix : 修复首页时间提示' (#845) from dj into master

Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/845
This commit is contained in:
2024-10-17 14:36:05 +00:00

View File

@@ -535,7 +535,7 @@ const getTimePeriod=()=>{
return "中午好";
} else if (hour >= 14 && hour < 18) {
return "下午好";
} else if (hour >= 18 && hour < 22) {
} else if (hour >= 18 && hour <= 22) {
return "晚上好";
} else if (hour >= 23 || hour <= 1) {
return "午夜好";