mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-03 11:47:48 +08:00
docs(examples): [table] column width shows full (#17114)
docs: [table] column width shows full
This commit is contained in:
parent
bb6033de40
commit
d937918717
@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<el-table :data="tableData" style="width: 100%" height="250">
|
||||
<el-table-column prop="date" label="Date" width="150" />
|
||||
<el-table-column prop="name" label="Name" width="150" />
|
||||
<el-table-column prop="zip" label="Zip" width="150" />
|
||||
<el-table-column prop="date" label="Date" />
|
||||
<el-table-column prop="name" label="Name" />
|
||||
<el-table-column prop="zip" label="Zip" />
|
||||
<el-table-column label="Address Info" fixed="right">
|
||||
<el-table-column prop="state" label="State" width="100" />
|
||||
<el-table-column prop="city" label="City" width="120" />
|
||||
<el-table-column prop="address" label="Address" width="250" />
|
||||
<el-table-column prop="state" label="State" />
|
||||
<el-table-column prop="city" label="City" />
|
||||
<el-table-column prop="address" label="Address" min-width="200" />
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</template>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<el-table-column prop="state" label="State" width="120" />
|
||||
<el-table-column prop="city" label="City" width="320" />
|
||||
<el-table-column prop="address" label="Address" width="600" />
|
||||
<el-table-column prop="zip" label="Zip" width="120" />
|
||||
<el-table-column prop="zip" label="Zip" />
|
||||
</el-table>
|
||||
</template>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<el-table-column prop="city" label="City" width="120" />
|
||||
<el-table-column prop="address" label="Address" width="600" />
|
||||
<el-table-column prop="zip" label="Zip" width="120" />
|
||||
<el-table-column fixed="right" label="Operations" width="120">
|
||||
<el-table-column fixed="right" label="Operations" min-width="120">
|
||||
<template #default>
|
||||
<el-button link type="primary" size="small" @click="handleClick">
|
||||
Detail
|
||||
|
@ -6,7 +6,7 @@
|
||||
<el-table-column prop="city" label="City" width="120" />
|
||||
<el-table-column prop="address" label="Address" width="600" />
|
||||
<el-table-column prop="zip" label="Zip" width="120" />
|
||||
<el-table-column fixed="right" label="Operations" width="120">
|
||||
<el-table-column fixed="right" label="Operations" min-width="120">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
link
|
||||
|
Loading…
Reference in New Issue
Block a user