From cd23bb36a603747a7bccaf80dcd78d26b307d78f Mon Sep 17 00:00:00 2001 From: JOJO <1498581755@qq.com> Date: Thu, 10 Sep 2026 20:06:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(personalization):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=8C=89=E9=9C=80=E5=8A=A0=E8=BD=BD=E5=B7=A5=E5=85=B7=E5=8B=BE?= =?UTF-8?q?=E9=80=89=E5=8C=BA=E8=84=9A=E6=9C=AC=E4=BE=A7=E6=9C=AA=E8=A7=A3?= =?UTF-8?q?=E5=8C=85=20Ref=20=E5=AF=BC=E8=87=B4=E7=9A=84=E5=B4=A9=E6=BA=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ToolsTab 的 isCategoryFullyDeferred/toggleDeferredTool/toggleDeferredCategory 在脚本侧直接访问 form.tool_loading_deferred,而 form 是 Drawer 经 storeToRefs + provide 传入的 Ref,脚本侧不会自动解包,得到 undefined 后调 .includes 即抛 TypeError。统一改为 unref 后读取并保留防御判断。 Co-authored-by: Astrion powered by Kimi-K3 --- .../personalization/tabs/ToolsTab.vue | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/static/src/components/personalization/tabs/ToolsTab.vue b/static/src/components/personalization/tabs/ToolsTab.vue index 1e96d00a..2d0bd031 100644 --- a/static/src/components/personalization/tabs/ToolsTab.vue +++ b/static/src/components/personalization/tabs/ToolsTab.vue @@ -1,5 +1,5 @@