[amis-saas-5499]当按钮类型为submit或reset时才展示按钮类型选择

Change-Id: I7f5dc77e179424115d2f22145d34ffd2ad047857
This commit is contained in:
hsm-lv 2022-07-19 20:51:04 +08:00
parent b790128536
commit 7908bdfe76

View File

@ -95,6 +95,7 @@ export class ButtonPlugin extends BasePlugin {
type: 'button-group-select',
name: 'type',
size: 'sm',
visibleOn: 'type === "submit" || type === "reset" ',
options: [
{
label: '按钮',