<el-table-column prop="yourProp" label="糟糕程度" width="160">
<template v-slot:default="scope">
<p>
{
{ scope.row.star }}
</p>
<el-rate
v-model="tableData[scope.$index].star"
:show-text="false"
allow-half>
</el-rate>
</template>
</el-table-column>
<el-table-column
ElementUI: el-table中动态绑定el-rate
猜你喜欢
转载自blog.csdn.net/amadeus_liu2/article/details/132739915
今日推荐
周排行