8000 BUG: 文本组件设置全局变量为默认值,切换为预览状态不显示 · Issue #12079 · baidu/amis · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
BUG: 文本组件设置全局变量为默认值,切换为预览状态不显示 #12079
Open
@xiukun

Description

@xiukun

描述问题:

BUG: 最新源码本地调试,文本组件设置全局变量为默认值,切换为预览状态不显示

截图或视频:

bug.mp4

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

需要手动增加全局变量 name2,并设置值

{
  "type": "page",
  "id": "u:e55a5ac4a3d9",
  "asideResizor": false,
  "pullRefresh": {
    "disabled": true
  },
  "regions": [
    "body"
  ],
  "body": [
    {
      "type": "input-text",
      "label": "文本",
      "name": "text",
      "id": "u:8a8f54772efd",
      "value": "${global.name2}"
    }
  ],
  "data": {
    "name1": "12345"
  }
}
  1. 你是如何使用 amis 的?
    最新源码
    sdknpm其他...

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

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

code here...
  1. 操作步骤
    请简单描述一下复现的操作步骤...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0