mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-24 10:33:50 +08:00
chore(demo->form): 增加ApiTransfer使用示例. close #1760
This commit is contained in:
parent
83426b5c96
commit
538fa168fe
@ -575,6 +575,19 @@
|
||||
span: 8,
|
||||
},
|
||||
},
|
||||
{
|
||||
label: '远程穿梭框',
|
||||
field: 'field37',
|
||||
component: 'ApiTransfer',
|
||||
componentProps: {
|
||||
render: (item) => item.label,
|
||||
api: async () => {
|
||||
return Promise.resolve(citiesOptionsData.guangdong);
|
||||
},
|
||||
},
|
||||
defaultValue: ['1'],
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
field: 'divider-linked',
|
||||
component: 'Divider',
|
||||
|
Loading…
Reference in New Issue
Block a user