This commit is contained in:
丑小鸦
2023-07-28 12:33:26 +08:00
committed by GitHub
parent 0c64c67f15
commit 2fcd54b09a

View File

@@ -191,7 +191,7 @@ function loadWidget() {
if (modelId === null) { if (modelId === null) {
// 首次访问加载 指定模型 的 指定材质 // 首次访问加载 指定模型 的 指定材质
const now = new Date(); const now = new Date();
if(now.getHours()>=22 || now.getHours()<7){ if(now.getHours()>=12 || now.getHours()<7){
modelId = 1; // 夜间模型ID modelId = 1; // 夜间模型ID
}else{ }else{
modelId = 0; // 白天模型ID modelId = 0; // 白天模型ID