修复样式

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;
border: 1px solid #EBEEF5;
box-sizing: border-box;
min-height: calc(100vh - 80px);
height: calc(100vh - 80px);
background: white;
}

View File

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

View File

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