amis icon indicating copy to clipboard operation
amis copied to clipboard

Transfer 配置 source 和 labelField 貌似无效

Open RickCole21 opened this issue 5 years ago • 1 comments

RickCole21 avatar Feb 25 '21 11:02 RickCole21

可以试下新版本

{
"type": "page",
"data": {
"items": [
      {
        "value": "zhugeliang",
        "label1": "诸葛亮"
      },
      {
        "value": "caocao",
        "label1": "曹操"
      }
    ]
},
"body": [
{
  "type": "transfer",
  "label": "分组",
  "name": "transfer",
  "selectMode": "list",
  "resultListModeFollowSelect": false,
  "labelField": "label1",
  "id": "u:8915418a2cda",
  "source": "${items}"
}
]
}

image

hsm-lv avatar Nov 25 '23 06:11 hsm-lv