diff --git a/components/ThemeSwitch.js b/components/ThemeSwitch.js index 86426b83..732f8493 100644 --- a/components/ThemeSwitch.js +++ b/components/ThemeSwitch.js @@ -30,12 +30,20 @@ const ThemeSwitch = () => {
{/* 主题切换按钮 */}
- + { + setSideBarVisible(true) + }} + onTouchStart={() => { + setSideBarVisible(true) + }} + />