Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inputTable组件在行内编辑时存在延迟更新数据域的问题 #10136

Open
tujiajun opened this issue Apr 29, 2024 · 0 comments
Open

Comments

@tujiajun
Copy link

描述问题:

如题,延迟估测大约有0.5秒以上

截图或视频:

image

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

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

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

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

{
  "type": "page",
  "body": {
    "type": "page",
    "id": "page",
    "data": {
      "aa": "aaaa"
    },
    "body": [
      {
        "type": "form",
        "id": "form",
        "debug": true,
        "onEvent": {
          "submit": {
            "actions": [
              {
                "actionType": "custom",
                "script": "debugger;"
              }
            ]
          }
        },
        "data": {
          "table": [
            {
              "a": "a1",
              "b": "b1",
              "c": "c1"
            }
          ]
        },
        "api": "/amis/api/mock2/form/saveForm",
        "body": [
          {
            "type": "input-table",
            "name": "table",
            "columns": [
              {
                "name": "a",
                "label": "A"
              },
              {
                "name": "b",
                "label": "B"
              },
              {
                "type": "input-text",
                "name": "c"
              }
            ]
          }
        ]
      }
    ]
  }
}
  1. 操作步骤
    在修改某一项值后立马点击确认按钮,在右侧可看到对应组件数据并未更新
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant