mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-05 05:18:34 +08:00
[amis-saas-5499]当按钮类型为submit或reset时才展示按钮类型选择
Change-Id: I7f5dc77e179424115d2f22145d34ffd2ad047857
This commit is contained in:
parent
b790128536
commit
7908bdfe76
@ -95,6 +95,7 @@ export class ButtonPlugin extends BasePlugin {
|
||||
type: 'button-group-select',
|
||||
name: 'type',
|
||||
size: 'sm',
|
||||
visibleOn: 'type === "submit" || type === "reset" ',
|
||||
options: [
|
||||
{
|
||||
label: '按钮',
|
||||
|
Loading…
Reference in New Issue
Block a user