Amis配置
一、穿梭器
{
"type": "transfer-picker",
"name": "parentMenuId",
"label": "父菜单ID",
"id": "transfer-picker-receiver",
"resetValue": "",
"sortable": true,
"selectMode": "tree",
"searchable": true,
"value": "",
"enableNodePath": true,
"source": "http://127.0.0.1:8081/robots/menu/getTreeMenu",
"searchApi": "http://127.0.0.1:8081/robots/menu/getTreeMenu",
"inline": true,
"onEvent": {
"change": {
"actions": [
{
"actionType": "toast",
"args": {
"msgType": "info",
"msg": "${event.data.value|json}"
}
}
]
}
}
},