amis icon indicating copy to clipboard operation
amis copied to clipboard

url上的传参不能传递到目标组件上

Open YSceshi opened this issue 2 years ago • 1 comments

描述问题:

带有参数的页面搜索后,url上的参数不能带到对应的组件上

截图或视频:

image

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

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

  2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在

6.2.2

  1. 粘贴有问题的完整 amis schema 代码:
code here...
  1. 操作步骤 请简单描述一下复现的操作步骤...

YSceshi avatar Apr 09 '24 09:04 YSceshi

试了最简单的情况是可以的,不知道你是什么情况,什么组件,把具体配置贴出来看看

{
  "type": "page",
  "body": [
    {
      "type": "form",
      "title": "表单",
      "mode": "horizontal",
      "body": [
        {
          "type": "input-text",
          "label": "选项",
          "name": "code"
        }
      ]
    }
  ]
}

CheshireJCat avatar Apr 15 '24 12:04 CheshireJCat