Skip to content

Commit

Permalink
fix: 修复时间的跳变
Browse files Browse the repository at this point in the history
  • Loading branch information
camera-2018 committed Jan 27, 2023
1 parent 9ca9b49 commit 45178ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/composables/useTime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ export function useDayParts() {
state.value = '下午好!'
else if (hour > 18 && hour <= 24)
state.value = '晚上好!'
return state
return hours
}

0 comments on commit 45178ae

Please sign in to comment.