style: 移除空格

This commit is contained in:
haoxr 2023-02-06 01:08:40 +08:00
parent 29a3025d94
commit 70e58e3a23
2 changed files with 8 additions and 12 deletions

View File

@ -38,7 +38,7 @@ const greetings = computed(() => {
<github-corner class="github-corner" />
<!-- 用户信息 -->
<el-row class="mb-[24px]">
<el-row class="mb-8">
<el-card class="w-full">
<div class="flex justify-between flex-wrap">
<div>
@ -82,7 +82,7 @@ const greetings = computed(() => {
</el-row>
<!-- 数据卡片 -->
<el-row :gutter="40" class="mb-[24px]">
<el-row :gutter="40" class="mb-8">
<el-col :xs="24" :sm="12" :lg="6">
<div class="data-box">
<div
@ -150,7 +150,7 @@ const greetings = computed(() => {
<!-- Echarts 图表 -->
<el-row :gutter="40">
<el-col :sm="24" :lg="8" class="mb-[12px]">
<el-col :sm="24" :lg="8" class="mb-4">
<BarChart
id="barChart"
height="400px"
@ -159,7 +159,7 @@ const greetings = computed(() => {
/>
</el-col>
<el-col :xs="24" :sm="12" :lg="8" class="mb-[12px]">
<el-col :xs="24" :sm="12" :lg="8" class="mb-4">
<PieChart
id="pieChart"
height="400px"
@ -168,7 +168,7 @@ const greetings = computed(() => {
/>
</el-col>
<el-col :xs="24" :sm="12" :lg="8" class="mb-[12px]">
<el-col :xs="24" :sm="12" :lg="8" class="mb-4">
<RadarChart
id="radarChart"
height="400px"

View File

@ -30,7 +30,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
scss: {
javascriptEnabled: true,
additionalData: `
@use "@/styles/variables.module.scss" as *;
@use "@/styles/variables.module.scss" as *;
`
}
}
@ -57,9 +57,8 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
AutoImport({
// 自动导入 Vue 相关函数ref, reactive, toRef 等
imports: ['vue', '@vueuse/core'],
//
eslintrc: {
enabled: true,
enabled: false,
filepath: './.eslintrc-auto-import.json',
globalsPropValue: true
},
@ -75,7 +74,6 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
dts: path.resolve(pathSrc, 'types', 'auto-imports.d.ts')
}),
Components({
resolvers: [
// 自动注册图标组件
@ -99,9 +97,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
iconDirs: [path.resolve(pathSrc, 'assets/icons')],
// 指定symbolId格式
symbolId: 'icon-[dir]-[name]'
}),
})
]
};
});