0
0
Fork 0

DeBug561-WanZiKun

修复bug561前后切换文章无法正常显示生词高光的功能
Bug561-WanZiKun
万梓锟 2024-05-08 21:36:01 +08:00
parent a4e64ee4a0
commit 13323ed123
1 changed files with 5 additions and 0 deletions

View File

@ -232,6 +232,9 @@
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']);
// 在加载新文章后调用高亮函数
toggleHighlighting();
} }
} }
}); });
@ -245,6 +248,8 @@
if(data['today_article']){ if(data['today_article']){
update(data['today_article']); update(data['today_article']);
check_pre(data['visited_articles']); check_pre(data['visited_articles']);
// 在加载新文章后调用高亮函数
toggleHighlighting();
} }
} }
}); });