修复Otherdata 表头换行问题
This commit is contained in:
parent
47b8a4658a
commit
0078d742e3
|
@ -38,9 +38,9 @@
|
||||||
<el-table :data="state.tableData.data" v-loading="state.tableData.loading"
|
<el-table :data="state.tableData.data" v-loading="state.tableData.loading"
|
||||||
@selection-change="handleSelectionChange" style="width: 100%">
|
@selection-change="handleSelectionChange" style="width: 100%">
|
||||||
<el-table-column type="selection" width="55" />
|
<el-table-column type="selection" width="55" />
|
||||||
<el-table-column prop="uploaderName" label="Uploader name" width="100"
|
<el-table-column prop="uploaderName" label="Uploader name" width="150"
|
||||||
show-overflow-tooltip></el-table-column>
|
show-overflow-tooltip></el-table-column>
|
||||||
<el-table-column prop="isPublish" label="isPublish" width="90" show-overflow-tooltip>
|
<el-table-column prop="isPublish" label="isPublish" width="110" show-overflow-tooltip>
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-tag type="warning" v-if="scope.row.isPublish == 0">NO</el-tag>
|
<el-tag type="warning" v-if="scope.row.isPublish == 0">NO</el-tag>
|
||||||
<el-tag type="success" v-if="scope.row.isPublish == 1">YES</el-tag>
|
<el-tag type="success" v-if="scope.row.isPublish == 1">YES</el-tag>
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="title" label="Title" show-overflow-tooltip
|
<el-table-column prop="title" label="Title" show-overflow-tooltip
|
||||||
width="150"></el-table-column>
|
width="150"></el-table-column>
|
||||||
<el-table-column prop="size" label="Data size" width="90" show-overflow-tooltip>
|
<el-table-column prop="size" label="Data size" width="110" show-overflow-tooltip>
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
{{ formatSizeUnits(scope.row.size) }}
|
{{ formatSizeUnits(scope.row.size) }}
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue