From fad6a0e2fbc2d82791c18bcb892e81880adb6aac Mon Sep 17 00:00:00 2001 From: mac Date: Fri, 10 Jul 2026 13:12:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=87=E6=8D=A2=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E5=8F=B0=E5=90=8E=E6=95=B0=E6=8D=AE=E4=B8=8D=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - load()渲染前增加ensureTabData(state.active)加载当前tab数据 - 版本号 v1.2.0.5 --- static/modules/utils.js | 2 ++ templates/index.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/static/modules/utils.js b/static/modules/utils.js index c6659d3..e575ab6 100644 --- a/static/modules/utils.js +++ b/static/modules/utils.js @@ -195,6 +195,8 @@ async function load() { return; // ensureStandardProposals 内部会再次 render } } + // 按需加载当前 tab 的数据 + await ensureTabData(state.active); // 逐步渲染 for (var i = 0; i < _loadingSteps.length; i++) { var step = _loadingSteps[i]; diff --git a/templates/index.html b/templates/index.html index 6e1cec4..f2316fa 100644 --- a/templates/index.html +++ b/templates/index.html @@ -76,7 +76,7 @@
-

OPC Manager v1.2.0.4

+

OPC Manager v1.2.0.5

科普 OPC 工作台