修复样式

This commit is contained in:
chenjianxing 2020-05-14 16:45:49 +08:00
parent 8e8b4dc7b7
commit a560fc8de4
3 changed files with 19 additions and 22 deletions

View File

@ -33,7 +33,7 @@
position: relative; position: relative;
border: 1px solid #EBEEF5; border: 1px solid #EBEEF5;
box-sizing: border-box; box-sizing: border-box;
min-height: calc(100vh - 80px); height: calc(100vh - 80px);
background: white; background: white;
} }

View File

@ -19,28 +19,26 @@
<el-container> <el-container>
<el-main class="case-content" v-loading="result.loading"> <el-main class="case-content" v-loading="result.loading">
<!-- <el-scrollbar> --> <el-table
<el-table :data="testCases"
:data="testCases" row-key="id"
row-key="id" @select-all="handleSelectAll"
@select-all="handleSelectAll" @select="handleSelectionChange"
@select="handleSelectionChange" height="70vh"
height="70vh" ref="table">
ref="table">
<el-table-column <el-table-column
type="selection"></el-table-column> type="selection"></el-table-column>
<el-table-column <el-table-column
prop="name" prop="name"
:label="$t('test_track.case.name')" :label="$t('test_track.case.name')"
style="width: 100%"> style="width: 100%">
<template v-slot:default="scope"> <template v-slot:default="scope">
{{scope.row.name}} {{scope.row.name}}
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<!-- </el-scrollbar> -->
</el-main> </el-main>
</el-container> </el-container>
</el-container> </el-container>

View File

@ -8,7 +8,6 @@
.main-content { .main-content {
margin: 0 auto; margin: 0 auto;
width: 100%; width: 100%;
position: absolute;
} }
body { body {