mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-06 04:00:06 +08:00
修改: 修复高级表单用户管理不能新增多个用户的问题;
This commit is contained in:
parent
b779b1ff9c
commit
a023e7437c
@ -76,21 +76,21 @@ const columns = [
|
|||||||
|
|
||||||
const dataSource = [
|
const dataSource = [
|
||||||
{
|
{
|
||||||
key: '1',
|
key: 1,
|
||||||
name: '小明',
|
name: '小明',
|
||||||
workId: '001',
|
workId: '001',
|
||||||
editable: false,
|
editable: false,
|
||||||
department: '行政部'
|
department: '行政部'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: '2',
|
key: 2,
|
||||||
name: '李莉',
|
name: '李莉',
|
||||||
workId: '002',
|
workId: '002',
|
||||||
editable: false,
|
editable: false,
|
||||||
department: 'IT部'
|
department: 'IT部'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: '3',
|
key: 3,
|
||||||
name: '王小帅',
|
name: '王小帅',
|
||||||
workId: '003',
|
workId: '003',
|
||||||
editable: false,
|
editable: false,
|
||||||
@ -112,7 +112,7 @@ export default {
|
|||||||
},
|
},
|
||||||
newMeber () {
|
newMeber () {
|
||||||
this.dataSource.push({
|
this.dataSource.push({
|
||||||
key: '99',
|
key: this.dataSource.length + 1,
|
||||||
name: '',
|
name: '',
|
||||||
workId: '',
|
workId: '',
|
||||||
department: '',
|
department: '',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user