From e0785bc306a06527b931bec0abfc3ca8db31859b Mon Sep 17 00:00:00 2001 From: zjwmiao <1723168479@qq.com> Date: Tue, 21 Oct 2025 11:27:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=9D=E5=A7=8B=E5=8C=96=E6=97=B6?= =?UTF-8?q?=E5=BC=80=E5=90=AF=E7=99=BE=E5=BA=A6=E5=9F=8B=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/.vitepress/src/shared/analytics/cookie.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/.vitepress/src/shared/analytics/cookie.ts b/app/.vitepress/src/shared/analytics/cookie.ts index d0c6f81..b70637c 100644 --- a/app/.vitepress/src/shared/analytics/cookie.ts +++ b/app/.vitepress/src/shared/analytics/cookie.ts @@ -3,6 +3,7 @@ import { COOKIE_KEY, disableHM, disableOA, enableHM, enableOA, isCookieAgreed } // 监听cookie set if (typeof window !== 'undefined') { if (isCookieAgreed()) { + enableHM(); enableOA(); } const origDesc = Object.getOwnPropertyDescriptor(Document.prototype, 'cookie')!; -- Gitee