amis icon indicating copy to clipboard operation
amis copied to clipboard

两段select联动时,使用selectFirst时sendOn失效

Open chenyphaaa opened this issue 5 years ago • 1 comments

描述问题:

两段select联动时,使用selectFirst时sendOn失效

截图或视频:

image image

如何复现(请务必完整填写下面内容):

  1. 你是如何使用 amis 的? jssdk

  2. 粘贴有问题的完整 amis schema 代码:

         {
            "type": "select",
            "name": "game_id",
            "selectFirst": true,
            "source": "get:xx/games",
            "size": "sm",
            "checkAll": false
          },
          {
            "type": "select",
            "name": "cluster_id",
            "source": {
              "method": "get",
              "url": "xx/clusters?game_id=${game_id}",
              "sendOn": "this.game_id"
            },
            "selectFirst": true,
            "size": "sm",
            "checkAll": false,
            "inputClassName": "m-l-lg"
          },
  1. 操作步骤 刷新页面

chenyphaaa avatar Jun 11 '21 07:06 chenyphaaa

1.2.0 中没有复现,可能已经修了

2betop avatar Jul 01 '21 01:07 2betop