实现效果:点击新增按钮,el-table-column新增一行,点击删除,删除当前el-table-column行 image.png <template><el-buttontype="primary"@click="addTableRow">新增</el-button><!-- table表格 --><el-tablestyle="width: 100%":data="tableDate"><el-table-columnlabel="航司名"width="80"><template#defau...
el-input> <el-table :data="tabledata"> <el-table-column label='id' prop='id'></el-table-column> <el-table-column label="名字" prop='name'> <template slot-scope="scope"> <input :id="'name'+scope.row.id" type='text' v-model='scope.row.name' /> </template> </el-table-...