style: 移除空格

Former-commit-id: 70e58e3a236f65b3e9c3b0d5a6a03f1e75ae45ac
This commit is contained in:
haoxr
2023-02-06 01:08:40 +08:00
parent 704775c7d1
commit 306734b441
2 changed files with 8 additions and 12 deletions

View File

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

View File

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