0
点赞
收藏
分享

微信扫一扫

ElementUI: el-table中动态绑定el-rate


<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


举报

相关推荐

0 条评论