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

更新2.9.13后table样式出现了一些问题 #2037

Closed
4 tasks done
tianheng2017 opened this issue Jun 19, 2024 · 0 comments
Closed
4 tasks done

更新2.9.13后table样式出现了一些问题 #2037

tianheng2017 opened this issue Jun 19, 2024 · 0 comments

Comments

@tianheng2017
Copy link

tianheng2017 commented Jun 19, 2024

议题条件

  • 我确认已查看官方使用文档:https://layui.dev ,但没有找到相关解决方案。
  • 我确认已在 Issues 中搜索过类似的问题,但没有找到相关解决方案。
  • 我已仔细阅读: 🍀 Layui Issue 贡献指南

议题类型

疑是 BUG

使用版本

2.9.13

问题描述

更新2.9.13后,表格field自定义templet会导致样式出现问题:数据无法垂直居中了

业务代码

{field: 'title', title: '题目', edit: true, templet: function (d) {
                            return '<div class="layui-table-cell" align="left">' + d.title + '</div>';
                        }
                    },

截图补充

image
image

浏览器

谷歌

演示地址

No response

友好承诺

  • 我承诺将本着相互尊重、理解和友善的态度进行交流,共同维护 Layui 良好的社区氛围。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant