mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-01 03:28:20 +08:00
amis-saas-5329 [Feature] 「feat」服务调用配置升级
Change-Id: I7a95383e444a71ed64805615b9348d37e326d286
This commit is contained in:
parent
7b560b917a
commit
138f980b9c
@ -135,11 +135,15 @@ export const SUPPORT_DISABLED_CMPTS = [
|
||||
// 'card2'
|
||||
];
|
||||
|
||||
export const getArgsWrapper = (items: any, patch = {}) => ({
|
||||
export const getArgsWrapper = (
|
||||
items: any,
|
||||
multiple: boolean = false,
|
||||
patch = {}
|
||||
) => ({
|
||||
type: 'combo',
|
||||
name: 'args',
|
||||
// label: '动作参数',
|
||||
multiple: false,
|
||||
multiple,
|
||||
strictMode: false,
|
||||
...patch,
|
||||
items: Array.isArray(items) ? items : [items]
|
||||
|
Loading…
Reference in New Issue
Block a user