表格折行优化
This commit is contained in:
@@ -17,12 +17,12 @@
|
||||
<el-table-column label="姓名" prop="name" width="120"></el-table-column>
|
||||
<el-table-column label="年龄" prop="age" width="120"></el-table-column>
|
||||
<el-table-column label="住址" prop="address" min-width="200" show-overflow-tooltip></el-table-column>
|
||||
<el-table-column label="是否禁用" prop="switch" min-width="180">
|
||||
<el-table-column label="是否禁用" prop="switch" width="180">
|
||||
<template slot-scope="scope">
|
||||
<el-switch active-text="开启" inactive-text="禁用" v-model="scope.row.switch"></el-switch>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="按钮组" min-width="180">
|
||||
<el-table-column label="按钮组" width="200">
|
||||
<template slot-scope="scope" >
|
||||
<el-button type="text" size="small" @click="toggleSelection([scope.row])">按钮1</el-button>
|
||||
<el-button type="text" size="small" @click="toggleSelection([scope.row])">按钮2</el-button>
|
||||
|
||||
Reference in New Issue
Block a user