update Transfer

update Transfer
This commit is contained in:
梁灏 2017-03-15 19:59:46 +08:00
parent 84a8a413aa
commit aa9fc758da
5 changed files with 21 additions and 12 deletions

View file

@ -13,6 +13,7 @@
</Form-item>
<Form-item prop="targetKeys1">
<Transfer
filterable
:data="formInline.data1"
:target-keys="formInline.targetKeys1"
:render-format="render1"
@ -111,6 +112,15 @@
message: '请输入',
trigger: 'change'
}
],
targetKeys1: [
{
required: true,
type: 'array',
max: 2,
message: '太多了',
trigger: 'change'
}
]
}
}