table表格高度

This commit is contained in:
shenyanpei
2021-09-23 11:06:03 +08:00
parent f391df84ae
commit a39f8aec84
@@ -87,7 +87,7 @@
ref="multipleTable"
:data="localProTableList"
tooltip-effect="dark"
style="width: 100%;height: calc(100% - 150px)"
style="width: 100%;overflow-y: scroll; height: calc(100% - 150px)"
border
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '15px',
fontWeight: 'normal', height: '48px'}"
@@ -191,7 +191,7 @@
<el-table-column label="" fixed="right" width="50" :resizable="false" label="操作" align="center">
<template slot-scope="scope">
<div @click.stop style="display: inline-block">
<el-dropdown trigger="click" @command="handleCommand">
<el-dropdown trigger="click" @command="handleCommand(scope.$index, localProTableList)">
<i class="iconfont">&#xe61e;</i>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item :command="[scope.row, '查看']" v-btn-permission="'633e82816590af9027dc2fddc562d046'">
@@ -882,7 +882,7 @@ export default {
});
},
// 更多
handleCommand(command) {
handleCommand(command,index, rows) {
switch (command[1]) {
case "删除":
this.handleDelete(command[0]);