<div class="addPlus" style="margin-top:15px;">
<el-button type='primary' @click="addLevel" size='mini'>添加关卡</el-button>
</div>
<el-table :data="customList" size='mini' style="width: 100%;margin-top:15px">
<el-table-column label="关卡名称">
<template slot-scope='scope'>
关卡{
{scope.$index+1}}
</template>
</el-table-column>
<el-table-column prop="questionName" label="试题名称">
<template slot-scope="scope">
<el-input disabled v-model="scope.row.questionName" size='mini'></el-input>
vue+elementUi 动态添加删除table表格
最新推荐文章于 2024-04-08 00:52:36 发布