更新首页信息

This commit is contained in:
Andy Leong
2024-01-08 17:03:53 +08:00
parent 313af3437b
commit eddb210dc5
4 changed files with 59 additions and 7 deletions

View File

@@ -327,7 +327,7 @@ export function getAstro(month, day) {
return s.substr(month * 2 - (day < arr[month - 1] ? 2 : 0), 2);
}
// 洗牌算法
// 洗牌算法:打乱数组顺序
export function FYShuffle(arr) {
let len = arr.length;