style(App): 统一代码风格和导入语句格式
- 调整 import 语句的格式,统一使用分号结尾 - 规范化 handleThemeStyle 函数导入的括号和空格 - 在 handleThemeStyle 函数调用后添加分号 - 为 nextTick 回调函数末尾添加分号 - 移除文件末尾的多余空行
This commit is contained in:
@@ -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 |
Reference in New Issue
Block a user