zhou zhou
2026-04-03 5454bbe86b1a22e9f05b6bc43f7ed7e9d6c4dc14
rsf-design/src/components/core/layouts/art-header-bar/index.vue
@@ -124,7 +124,7 @@
        <!-- 主题切换按钮 -->
        <ArtIconButton
          v-if="shouldShowThemeToggle"
          @click="themeAnimation"
          @click="handleThemeAnimation"
          :icon="isDark ? 'ri:sun-fill' : 'ri:moon-line'"
        />
@@ -140,9 +140,7 @@
<script setup>
  import AppConfig from '@/config'
  import { languageOptions } from '@/locales'
  import { themeAnimation } from '@/utils/ui/animation'
  import { languageOptions } from '@/locales/language-options'
  import { useI18n } from 'vue-i18n'
  import { useRoute, useRouter } from 'vue-router'
@@ -225,6 +223,10 @@
  const openChat = () => {
    mittBus.emit('openChat')
  }
  const handleThemeAnimation = async (event) => {
    const { themeAnimation } = await import('@/utils/ui/animation')
    themeAnimation(event)
  }
</script>
<style lang="scss" scoped>