App.vue 481 字节
<template>
  <router-view />
</template>

<script setup>
import useSettingsStore from "@/store/modules/settings";
import { handleThemeStyle } from "@/utils/theme";

onMounted(() => {
  nextTick(() => {
    // 初始化主题样式
    handleThemeStyle(useSettingsStore().theme);
  });
});
</script>

<style>
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
}
* {
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
}
</style>