From bf558b8bd027b5083de112ca382406ef9f665a05 Mon Sep 17 00:00:00 2001 From: the1812 Date: Sun, 20 Mar 2022 10:21:26 +0800 Subject: [PATCH] Fix touch for history (fix #3142) --- registry/lib/components/style/custom-navbar/history/history.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/registry/lib/components/style/custom-navbar/history/history.ts b/registry/lib/components/style/custom-navbar/history/history.ts index 23c0f0c91..e843f1be9 100644 --- a/registry/lib/components/style/custom-navbar/history/history.ts +++ b/registry/lib/components/style/custom-navbar/history/history.ts @@ -7,6 +7,7 @@ export const history: CustomNavbarItemInit = { content: '历史', href, + touch: true, active: document.URL.replace(/\?.*$/, '') === href, loginRequired: true,