fix: table style bug in mini size option (#1081)

#1080
This commit is contained in:
花裤衩 2018-09-10 11:13:08 +08:00 committed by GitHub
parent ed4427243d
commit f85b044ff8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@
border
fit
highlight-current-row
style="width: 100%;min-height:1000px;">
style="width: 100%;">
<el-table-column :label="$t('table.id')" align="center" width="65">
<template slot-scope="scope">
<span>{{ scope.row.id }}</span>
@ -81,7 +81,7 @@
</el-table>
<div class="pagination-container">
<el-pagination :current-page="listQuery.page" :page-sizes="[10,20,30, 50]" :page-size="listQuery.limit" :total="total" background layout="total, sizes, prev, pager, next, jumper" @size-change="handleSizeChange" @current-change="handleCurrentChange"/>
<el-pagination v-show="total>0" :current-page="listQuery.page" :page-sizes="[10,20,30, 50]" :page-size="listQuery.limit" :total="total" background layout="total, sizes, prev, pager, next, jumper" @size-change="handleSizeChange" @current-change="handleCurrentChange"/>
</div>
<el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible">