style: 代码格式化

This commit is contained in:
Ray.Hao
2026-03-30 12:49:42 +08:00
parent 72911e3353
commit 734cbe27b0
4 changed files with 6 additions and 23 deletions

View File

@@ -27,19 +27,18 @@
.el-card__body {
padding: 12px 12px 0;
}
}
.page-content {
flex: 1;
display: flex;
flex: 1;
flex-direction: column;
}
.page-toolbar {
display: flex;
justify-content: space-between;
align-items: center;
justify-content: space-between;
margin-bottom: 16px;
&__left,
@@ -49,7 +48,6 @@
}
}
/* 混合布局左侧菜单 hover 样式 */
.layout-mix .layout__sidebar--left .el-menu {
.el-menu-item:hover,

View File

@@ -30,12 +30,7 @@
</el-card>
<el-card class="page-content" shadow="never">
<el-table
ref="dataTableRef"
v-loading="loading"
:data="pageData"
highlight-current-row
>
<el-table ref="dataTableRef" v-loading="loading" :data="pageData" highlight-current-row>
<el-table-column type="index" label="序号" width="60" />
<el-table-column label="通知标题" prop="title" min-width="200" />
<el-table-column align="center" label="通知类型" width="150">

View File

@@ -32,12 +32,7 @@
</el-card>
<el-card class="page-content" shadow="never">
<el-table
v-loading="loading"
:data="pageData"
highlight-current-row
border
>
<el-table v-loading="loading" :data="pageData" highlight-current-row border>
<el-table-column label="操作标题" prop="title" min-width="180" show-overflow-tooltip />
<el-table-column label="状态" prop="status" width="80" align="center">
<template #default="{ row }">

View File

@@ -1,9 +1,4 @@
{
"extends": "./tsconfig.json",
"include": [
"src/**/*",
"mock/**/*",
"vite.config.ts",
"eslint.config.ts"
]
"include": ["src/**/*", "mock/**/*", "vite.config.ts", "eslint.config.ts"]
}