From 93d2f0e3b46404ecf3a565d74ebf01e5f51510d5 Mon Sep 17 00:00:00 2001 From: Casey Cheng <61931277+YiGuan-z@users.noreply.github.com> Date: Sun, 3 Mar 2024 09:07:56 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=B8=BASafari=E6=B7=BB=E5=8A=A0=E6=8B=96?= =?UTF-8?q?=E6=8B=BD=E6=A1=86=E7=9A=84=E7=AE=80=E7=95=A5=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ThemeSwitch.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/ThemeSwitch.js b/components/ThemeSwitch.js index aeaeb3ab..788f81b1 100644 --- a/components/ThemeSwitch.js +++ b/components/ThemeSwitch.js @@ -20,6 +20,7 @@ const ThemeSwitch = () => { // 修改当前路径url中的 theme 参数 // 例如 http://localhost?theme=hexo 跳转到 http://localhost?theme=newTheme const onThemeSelectChange = (e) => { + document.ontouchmove = document.ontouchend = document.onmousemove = document.onmouseup = null setIsLoading(true) const newTheme = e.target.value const query = router.query @@ -32,6 +33,7 @@ const ThemeSwitch = () => { } const onLangSelectChange = (e) => { + document.ontouchmove = document.ontouchend = document.onmousemove = document.onmouseup = null const newLang = e.target.value changeLang(newLang) } From e9d0cfde2a8bd32ee616484074c3ec5154069159 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Mon, 4 Mar 2024 14:02:38 +0800 Subject: [PATCH 2/2] nothting but important --- themes/starter/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/starter/index.js b/themes/starter/index.js index a0a4ef07..78f01f89 100644 --- a/themes/starter/index.js +++ b/themes/starter/index.js @@ -30,7 +30,7 @@ import { Contact } from './components/Contact' import { Brand } from './components/Brand' import { Footer } from './components/Footer' import { BackToTopButton } from './components/BackToTopButton' -import { MadeWithButton } from './components/MadeWithButton' +// import { MadeWithButton } from './components/MadeWithButton' import { SVG404 } from './components/svg/SVG404' import { Banner } from './components/Banner' import { SignInForm } from './components/SignInForm' @@ -64,7 +64,7 @@ const LayoutBase = (props) => { {/* 悬浮按钮 */} - + {/* */} }