摘要:
1. 在data中定义一个this.tableData:[{}] 2. 增加行: var list = {} this.tableData.push(list) 1.表格动态添加,也可删除 <template> <div class="TestWord"> <el-button @click="ad 阅读全文
posted @ 2020-04-07 14:50
魔豆吧
阅读(10068)
评论(0)
推荐(0)
摘要:
1 <template> 2 <div> 3 <el-table 4 :data="tableData" 5 style="width: 100%;margin-bottom: 20px;" 6 row-key="id" 7 border 8 default-expand-all 9 :tree-p 阅读全文
posted @ 2020-04-07 14:46
魔豆吧
阅读(3056)
评论(0)
推荐(0)