amis2/docs/components/button.md
2020-07-28 10:03:53 +08:00

406 B
Executable File

title description type group menuName icon order
Button 按钮 0 ⚙ 组件 Button 按钮 29

基本用法

{
  "label": "弹个框",
  "type": "button",
  "actionType": "dialog",
  "dialog": {
    "title": "弹框",
    "body": "这是个简单的弹框。"
  }
}

button 实际上是 action 的别名,更多用法见action