修改: 修复高级表单用户管理不能新增多个用户的问题;

master
iczer 5 years ago
parent b779b1ff9c
commit a023e7437c
  1. 8
      src/pages/form/advancedForm/TableForm.vue

@ -76,21 +76,21 @@ const columns = [
const dataSource = [
{
key: '1',
key: 1,
name: '小明',
workId: '001',
editable: false,
department: '行政部'
},
{
key: '2',
key: 2,
name: '李莉',
workId: '002',
editable: false,
department: 'IT部'
},
{
key: '3',
key: 3,
name: '王小帅',
workId: '003',
editable: false,
@ -112,7 +112,7 @@ export default {
},
newMeber () {
this.dataSource.push({
key: '99',
key: this.dataSource.length + 1,
name: '',
workId: '',
department: '',

Loading…
Cancel
Save