drawer-toggle.vue 483 B

1234567891011121314151617181920
  1. <template>
  2. <hover-container
  3. class="w-40px h-full"
  4. tooltip-content="主题设置"
  5. :inverted="theme.header.inverted"
  6. @click="app.toggleSettingDrawerVisible"
  7. >
  8. <icon-ant-design-setting-outlined class="text-18px" />
  9. </hover-container>
  10. </template>
  11. <script lang="ts" setup>
  12. defineOptions({ name: 'DrawerToggle' });
  13. import { useAppStore, useThemeStore } from '@/store';
  14. const app = useAppStore();
  15. const theme = useThemeStore();
  16. </script>
  17. <style scoped></style>