lowcode-engine
lowcode-engine copied to clipboard
分页器缺少当前页的变量绑定
Describe the bug (required) / 详细描述 bug(必填)
A clear and concise description of what the bug is. / 请提供清晰且精确的 bug 描述
To Reproduce (required) / 如何复现 bug?(必填,非常重要)
Steps to reproduce the behavior: / 详细复现步骤:
English version example:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
中文版示例:
- 打开 demo;
- 点击标题;
- 在右侧修改标题内容为「修改后的标题」;
- 渲染画布标题组件没有更新显示为「修改后的标题」;
Expected behavior (required) / 预期行为(必填,非常重要)
A clear and concise description of what did you expect to happen. / 请清晰和精确的描述你预期的行为
Screenshots (optional) / bug 截图(可选)
Sceenshots for further information. (If applicable.) / 一些有用的截图将会帮助我们更好的明确以及定位问题
Environments (please complete the following information) (required): / 请提供如下信息(必填)
- alifd__next/1.23.24
- [email protected]
- [email protected]
- materials / plugins / tools / 其他物料 / 插件 / 工具链版本
(this information can be collected via the manual plugin / 版本信息可通过低代码用户手册插件收集)
Additional context (optional) / 更多额外信息(可选)
Any other context of the problem here. / 可以追加更多的额外信息,帮助定位问题
@lucy091 这个属性是隐藏了,因为如果这里配置了就会受控,需要搭配 onChange 一起用,代码在这里 https://github.com/alibaba/lowcode-materials/blob/main/packages/fusion-lowcode-materials/lowcode/pagination/meta.ts#L204
你可以在你的项目里通过 metadataTransducer 去覆盖一下它,可以参考这个 https://www.bilibili.com/video/BV1j3411P749/