mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-05 05:18:34 +08:00
amis-saas-5128 tabs 增加 activeKey 配置
Change-Id: I9bcd5eafc2eba99a57479200539e05f703385ac7
This commit is contained in:
parent
60adac3367
commit
ae8d430553
@ -153,7 +153,17 @@ export class TabsPlugin extends BasePlugin {
|
||||
),
|
||||
visibleOn: isNewTabMode,
|
||||
clearValueOnHidden: true
|
||||
})
|
||||
}),
|
||||
|
||||
{
|
||||
label: tipedLabel(
|
||||
'默认选项卡',
|
||||
'默认显示某个选项卡,选项卡配置hash时使用hash,否则使用索引值,支持获取变量,如:<code>tab\\${id}</code>、<code>\\${id}</code>'
|
||||
),
|
||||
type: 'input-text',
|
||||
name: 'activeKey',
|
||||
pipeOut: (data: string) => data === '' || isNaN(Number(data)) ? data : Number(data)
|
||||
},
|
||||
]
|
||||
},
|
||||
getSchemaTpl('status'),
|
||||
|
Loading…
Reference in New Issue
Block a user