1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 23:11:24 +08:00

Modify the main interface work card console vue warn

This commit is contained in:
GGB
2023-05-21 17:00:13 +08:00
parent 9ff3d29681
commit 01824f2da8
2 changed files with 8 additions and 11 deletions

View File

@@ -7,7 +7,7 @@
</div>
</template>
<div v-for="item in tableData" :key="item" class="text item">
<el-row gutter="10">
<el-row :gutter="10">
<el-col :xs="0" :sm="4" :md="4" :lg="3" :xl="2" style="justify-content: center">
<el-avatar style="background-color: #409eff" size="default">
<el-icon
@@ -42,13 +42,10 @@ import { SIZE_ICON_LG, SIZE_ICON_MD } from '@/constants/Common.constants'
export default {
props: {
tableData: []
tableData: {
type: Array
}
},
// data() {
// return {
// tableData: []
// }
// },
methods: {
SIZE_ICON_LG() {
return SIZE_ICON_LG

View File

@@ -2,18 +2,18 @@
<div style="height: calc(100vh - 56px - 40px); min-height: calc(500px - 56px - 40px)">
<el-row :gutter="20">
<el-col :span="12">
<work-card :table-data="tableData" />
<work-card :tableData="tableData" />
</el-col>
<el-col :span="12">
<work-card :table-data="tableData" />
<work-card :tableData="tableData" />
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<work-card :table-data="tableData" />
<work-card :tableData="tableData" />
</el-col>
<el-col :span="12">
<work-card :table-data="tableData" />
<work-card :tableData="tableData" />
</el-col>
</el-row>
</div>