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']); }