From 65bfccdd48aca4f3fd466a7b63f3935431864607 Mon Sep 17 00:00:00 2001 From: xing Date: Fri, 19 Jan 2024 22:36:44 +0800 Subject: [PATCH] fix bug --- app/theme/wp/components.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/theme/wp/components.go b/app/theme/wp/components.go index 6f7905e..52e6368 100644 --- a/app/theme/wp/components.go +++ b/app/theme/wp/components.go @@ -99,7 +99,7 @@ func cacheComponentFn(a cacheComponentParm[string]) string { func CalComponents(h *Handle) { allComponents := GetComponents(str.Join("allScene-", h.scene), h) for k, components := range allComponents { - key := str.Join("calComponents-", h.scene, "-", k) + key := str.Join("calComponents-", h.theme, "-", h.scene, "-", k) hookedComponents := HookComponents(key, k, components) var s = make([]string, 0, len(hookedComponents)) for _, component := range hookedComponents {