控制 table 的 页签 和空值状态

/deep/ .el-table {
    min-height: 220px
    max-height: 680px
    overflow-y: auto
}
.testPaper .wx-pagination{
  position: absolute;
    bottom: 21px
    right: 61px
}

        <el-table
            ref="multipleTable"
            :data="tableData"
            tooltip-effect="dark"
            :header-cell-style="{background:'#FBFBFB'}"
            style="width: 100%;"
        >
            <el-table-column
            prop="themeName"
            align="center"
            :show-overflow-tooltip="true"
            label="名称"
            ></el-table-column>
            <el-table-column
            prop="attendanceMode"
            align="center"
            :show-overflow-tooltip="true"
            label="模式"
            ></el-table-column>
            <el-table-column
            prop="joinNum"
            align="center"
            width="182px"
            :show-overflow-tooltip="true"
            label="参加人数">
            </el-table-column>
            <el-table-column
            prop="createTime"
            align="center"
            width="182px"
            :show-overflow-tooltip="true"
            label="创建时间"
            ></el-table-column>
            <el-table-column
            label="操作"
            align="center"
            width="182px"
            :show-overflow-tooltip="true">
                <template slot-scope="scope">
                    <div class="operation">
                        <!-- compileClick(scope.row) -->
                        <div class="handleEdit" @click="xiugai(scope.row,2)">
                            <el-popover placement="top-start" content="修改" width="100" trigger="hover">
                                <svg class="icon" aria-hidden="true" slot="reference">
                                    <use xlink:href="#icon-a-Group4Copy12"></use>
                                </svg>
                            </el-popover>
                        </div>
                        <div class="alter"
                        @click="Cancelevaluation(scope.row,2)"
                        >
                            <el-popover placement="top-start" content="删除" width="100" trigger="hover">
                                <svg class="icon" aria-hidden="true" slot="reference" style="font-size:18px">
                                    <use xlink:href="#icon-a-GroupCopy52"></use>
                                </svg>
                            </el-popover>
                        </div>
                    </div>
                </template>
            </el-table-column>
            
        </el-table>
        <div  v-if="ater"  slot="empty" class="emptyBg">
                <img src="../../assets/images/zanwu.png" alt />
                <div class="empty-text">暂无内容</div>
        </div>
        <!-- 分页 -->
        <div class="wx-pagination">
            <Pagination
                :total="total"
                :page.sync="pageBean.pageNum"
                :limit.sync="pageBean.pageSize"
                @pagination="handleCurrentChange"
            />
        </div>
上一篇:【深度学习论文班】横扫经典与前沿!


下一篇:李宏毅机器学习课程笔记-7.3CNN应用案例