0
0
Fork 0

fix Bug568

Bug568-SongHaiyan
宋海燕 2024-07-04 09:54:09 +08:00
parent 00ae770195
commit 7cf9c7cf56
1 changed files with 6 additions and 0 deletions

View File

@ -230,6 +230,9 @@
success: function(data) { success: function(data) {
// 更新页面内容 // 更新页面内容
if(data['today_article']){ if(data['today_article']){
// answer不可见
const e = document.getElementById('answer');
e.style.display = 'none';
update(data['today_article']); update(data['today_article']);
check_pre(data['visited_articles']); check_pre(data['visited_articles']);
check_next(data['result_of_generate_article']); check_next(data['result_of_generate_article']);
@ -244,6 +247,9 @@
success: function(data) { success: function(data) {
// 更新页面内容 // 更新页面内容
if(data['today_article']){ if(data['today_article']){
// answer不可见
const e = document.getElementById('answer');
e.style.display = 'none';
update(data['today_article']); update(data['today_article']);
check_pre(data['visited_articles']); check_pre(data['visited_articles']);
} }