elementui form single selection and multi-selection switching

                    <el-table-column v-if="isSingle" align="center" width="150">
                      <!-- <el-table-column v-if="dialogObj.select == 'single'" align="center" width="150" lable="选择"> -->
                      <template slot="header"> <span>选择</span> </template>
                      <template scope="scope">
                        <el-radio :label="scope.$index" v-model="radio"
                          @change.native="getCurrentRow(scope.row)"></el-radio>
                      </template>
                     </el-table-column>
                    <el-table-column type="selection" width="55" v-else  />

Guess you like

Origin blog.csdn.net/m0_65720832/article/details/131300380