From 24eca23548dc7964e29ad6a6f1ae20ebbd821664 Mon Sep 17 00:00:00 2001 From: zyronon Date: Thu, 7 Dec 2023 14:11:27 +0800 Subject: [PATCH] Check if it is mac --- src/components/CollectNotice.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/CollectNotice.vue b/src/components/CollectNotice.vue index 7c043748..1282e671 100644 --- a/src/components/CollectNotice.vue +++ b/src/components/CollectNotice.vue @@ -34,6 +34,8 @@ watch(() => settingStore.load, (n) => { } }) +const isMac = /macintosh|mac os x/i.test(navigator.userAgent); +