From 7cf9c7cf5635886a42f65b5e5e86755eca6878b5 Mon Sep 17 00:00:00 2001 From: songhy <2741786616@qq.com> Date: Thu, 4 Jul 2024 09:54:09 +0800 Subject: [PATCH] fix Bug568 --- app/templates/userpage_get.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/templates/userpage_get.html b/app/templates/userpage_get.html index e5c8d95..bac101c 100644 --- a/app/templates/userpage_get.html +++ b/app/templates/userpage_get.html @@ -230,6 +230,9 @@ success: function(data) { // 更新页面内容 if(data['today_article']){ + // answer不可见 + const e = document.getElementById('answer'); + e.style.display = 'none'; update(data['today_article']); check_pre(data['visited_articles']); check_next(data['result_of_generate_article']); @@ -244,6 +247,9 @@ success: function(data) { // 更新页面内容 if(data['today_article']){ + // answer不可见 + const e = document.getElementById('answer'); + e.style.display = 'none'; update(data['today_article']); check_pre(data['visited_articles']); }