From 8e036106b8120b6563f25f96c4c0aed231bd87b0 Mon Sep 17 00:00:00 2001 From: 732642856 <732642856@qq.com> Date: Fri, 12 Jun 2026 14:42:43 +0800 Subject: [PATCH] =?UTF-8?q?v6.9.5:=20=E4=BF=AE=E5=A4=8D=20birth=5Finfo=20?= =?UTF-8?q?=E7=A9=BA=E5=80=BC=E4=BF=9D=E6=8A=A4=20+=20API=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jyotish-app/main.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jyotish-app/main.js b/jyotish-app/main.js index 7fed40ef..03a4f645 100644 --- a/jyotish-app/main.js +++ b/jyotish-app/main.js @@ -253,7 +253,10 @@ function setupForm() { // ============================================================================ function renderAll() { if (!chartData) return; - const { ascendant, planets, birth_info } = chartData; + const { ascendant = {}, planets = {}, birth_info = {} } = chartData; + if (!birth_info.date) birth_info.date = '2000-01-01'; + if (!birth_info.time) birth_info.time = '12:00'; + if (!birth_info.tz) birth_info.tz = 'UTC+8'; const moonP = planets.Moon; // 高级计算