feat: 研究Tab局部刷新——切回研究Tab不整页重建骨架(保留滚动/展开),只刷数据
This commit is contained in:
@@ -2173,6 +2173,13 @@ function _renderVersionsHTML(md) {
|
||||
function renderResearch() {
|
||||
const el = document.getElementById('tab-research');
|
||||
if (!el) return;
|
||||
// 2026-08-18 局部刷新(老莫):已渲染过骨架则不再整页重建(保留滚动/展开),只刷新数据
|
||||
if (window._researchRendered) {
|
||||
loadStrategyList();
|
||||
loadEvolutionBox();
|
||||
return;
|
||||
}
|
||||
window._researchRendered = true;
|
||||
el.innerHTML =
|
||||
'<div class="flex gap-2 items-center mb-3">' +
|
||||
'<span class="text-sm font-semibold text-slate-300">📋 策略研究</span>' +
|
||||
|
||||
Reference in New Issue
Block a user