style(App): 统一代码风格和导入语句格式

- 调整 import 语句的格式,统一使用分号结尾
- 规范化 handleThemeStyle 函数导入的括号和空格
- 在 handleThemeStyle 函数调用后添加分号
- 为 nextTick 回调函数末尾添加分号
- 移除文件末尾的多余空行
This commit is contained in:
2026-06-15 15:24:31 +08:00
parent 8ceea81f41
commit 3e018025ab
3 changed files with 5 additions and 6 deletions

View File

@@ -3,14 +3,13 @@
</template> </template>
<script setup> <script setup>
import useSettingsStore from '@/store/modules/settings' import useSettingsStore from '@/store/modules/settings';
import {handleThemeStyle} from '@/utils/theme' import { handleThemeStyle } from '@/utils/theme';
onMounted(() => { onMounted(() => {
nextTick(() => { nextTick(() => {
// 初始化主题样式 // 初始化主题样式
handleThemeStyle(useSettingsStore().theme) handleThemeStyle(useSettingsStore().theme);
}) });
}) });
</script> </script>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 423 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 424 KiB