孕周刷新后「此刻」板块也按新孕周重拉 v26101031

Co-Authored-By: AI 助手
This commit is contained in:
karlcarlo
2026-10-11 15:44:05 +00:00
parent 107fcaca84
commit a55a4e26c8
2 changed files with 3 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
(function () {
'use strict';
/* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */
var VER = '26101030';
var VER = '26101031';
const $ = (s, c) => (c || document).querySelector(s);
const $$ = (s, c) => Array.from((c || document).querySelectorAll(s));
@@ -3506,6 +3506,7 @@
if ((state.due ? toISO(state.due) : '') === before) return false;
syncPregnancy();
if (!state.pregEmpty && !state.postpartum) { syncBabyWords(); syncStaticDates(); }
if (plHook) setTimeout(plHook, 0); // 「此刻」按新孕周重拉
return true;
}).catch(function () { return false; });
}