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

crud.prefixRow和columns.fixed搭配使用时渲染异常 #7131

Closed
ranwawa opened this issue Jun 10, 2023 · 1 comment · Fixed by #7177
Closed

crud.prefixRow和columns.fixed搭配使用时渲染异常 #7131

ranwawa opened this issue Jun 10, 2023 · 1 comment · Fixed by #7177

Comments

@ranwawa
Copy link
Contributor

ranwawa commented Jun 10, 2023

描述问题:

固定列在固定显示时,会丢失掉总结行,导致页面渲染错位

截图或视频:

image

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

粘贴代码在官网即可复现

{
  "type": "page",
  "body": {
    "type": "crud",
    "syncLocation": false,
    "api": "/amis/api/mock2/sample",
    "loadDataOnce": true,
    "prefixRow": [
      {
        "type": "text",
        "text": "-"
      },
      {
        "type": "text",
        "text": "-"
      }
    ],
    "columns": [
      {
        "name": "id",
        "label": "ID",
        "fixed": "left"
      },
      {
        "name": "engine",
        "label": "Rendering engine"
      },
      {
        "name": "engine",
        "label": "Rendering engine"
      },
      {
        "name": "engine",
        "label": "Rendering engine"
      },
      {
        "name": "engine",
        "label": "Rendering engine"
      },
      {
        "name": "engine",
        "label": "Rendering engine"
      },
      {
        "name": "engine",
        "label": "Rendering engine"
      },
      {
        "name": "engine",
        "label": "Rendering engine"
      },
      {
        "name": "engine",
        "label": "Rendering engine"
      },
      {
        "name": "engine",
        "label": "Rendering engine"
      },
      {
        "name": "engine",
        "label": "Rendering engine"
      },
      {
        "name": "engine",
        "label": "Rendering engine"
      },
      {
        "name": "engine",
        "label": "Rendering engine"
      }
    ]
  }
}```

4. 操作步骤
请简单描述一下复现的操作步骤...
@github-actions
Copy link

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants