如何实现element UI中table操作栏更多按钮的展示与折叠?

解决思路:

​ 直接使用elementUI文档上Popover 弹出框组件

废话不多说,直接上代码吧

<el-table :data="locationList" v-loading="loading" border class="table" ref="multipleTable" @selection-change="handleSelectionChange">
    <el-table-column type="selection" width="55"></el-table-column>
    <el-table-column v-for="(item,index) in tableLabel" :key="index" :prop="item.prop" :width="item.width" :label="item.label"></el-table-column>
    <el-table-column label="操作" width="350" align="center">
        <template slot-scope="scope">
            <el-button type="primary" plain size=

猜你喜欢

转载自blog.csdn.net/BenChiZhuBaDaoWang/article/details/132408473