fix: 修复radio显示

rf
tony 2023-01-12 09:07:16 +08:00
parent 0a2d2f0c3c
commit 926f8cca63
3 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@
<el-table-column width="55" align="center" >
<template slot-scope="scope">
<!-- 可以手动的修改label的值从而控制选择哪一项 -->
<el-radio v-model="radioSelected" :label="scope.row.id"style="color: rgba(255,0,0,0)">&nbsp;</el-radio>
<el-radio v-model="radioSelected" :label="scope.row.id">{{''}}</el-radio>
</template>
</el-table-column>
<el-table-column label="主键" align="center" prop="id" />

View File

@ -32,7 +32,7 @@
<el-table-column width="55" align="center" >
<template slot-scope="scope">
<!-- 可以手动的修改label的值从而控制选择哪一项 -->
<el-radio v-model="radioSelected" :label="scope.row.roleId" style="color: rgba(255,0,0,0)">&nbsp;</el-radio>
<el-radio v-model="radioSelected" :label="scope.row.roleId">{{''}}</el-radio>
</template>
</el-table-column>
<el-table-column label="角色编号" prop="roleId" width="120" />

View File

@ -64,7 +64,7 @@
<el-table v-show="checkType === 'single'" v-loading="loading" :data="userList" @current-change="handleSingleUserSelect">
<el-table-column width="55" align="center" >
<template slot-scope="scope">
<el-radio v-model="radioSelected" :label="scope.row.userId" style="color: rgba(255,0,0,0)">&nbsp;</el-radio>
<el-radio v-model="radioSelected" :label="scope.row.userId">{{''}}</el-radio>
</template>
</el-table-column>
<el-table-column label="用户编号" align="center" key="userId" prop="userId" v-if="columns[0].visible" />