diff --git a/src/pages/pc/components/toolbar/index.vue b/src/pages/pc/components/toolbar/index.vue index b029d737..324f262c 100644 --- a/src/pages/pc/components/toolbar/index.vue +++ b/src/pages/pc/components/toolbar/index.vue @@ -37,22 +37,6 @@ watch([() => settingStore.showToolbar, () => headerRef], n => { } }) -function toggle() { - if (settingStore.collapse) { - setTimeout(() => { - moreOptionsRef.style.overflow = 'unset' - }, 300) - } else { - moreOptionsRef.style.overflow = 'hidden' - } - settingStore.collapse = !settingStore.collapse -} - -watch(() => store.load, n => { - if (!settingStore.collapse) { - moreOptionsRef.style.overflow = 'unset' - } -}) const {nav} = useNav() @@ -71,39 +55,30 @@ const {nav} = useNav() @click="nav('/dict')" icon="gg:arrows-exchange"/> -
-
- - - - - +
+ + + + + + - - - - - - + - + - + - - - -
+
@@ -137,6 +112,7 @@ const {nav} = useNav()