This commit is contained in:
yanran200730
2023-02-03 13:50:27 +08:00
parent a6141078e0
commit ffeb1b182d

View File

@@ -37,12 +37,12 @@
:current.sync="search.current" :current.sync="search.current"
:size.sync="search.size" :size.sync="search.size"
@getList="getList"> @getList="getList">
<el-table-column slot="options" width="180px" fixed="right" label="操作" align="center"> <el-table-column slot="options" width="120px" fixed="right" label="操作" align="center">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<div class="table-options"> <div class="table-options">
<el-button type="text" @click="toAdd(row.id)">编辑</el-button> <el-button type="text" @click="toAdd(row.id)">编辑</el-button>
<el-button type="text" @click="toDetail(row.id)">详情</el-button> <el-button type="text" @click="toDetail(row.id)">详情</el-button>
<el-button type="text" @click="remove(row.id)">删除</el-button> <!-- <el-button type="text" @click="remove(row.id)">删除</el-button> -->
</div> </div>
</template> </template>
</el-table-column> </el-table-column>