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

table单元格存在多行文本时支持点击“...”展开 #1043

Merged

Conversation

hotlcc
Copy link
Contributor

@hotlcc hotlcc commented Jun 16, 2022

通常情况下一些数据是有多行的,比如“备注”等,多行数据在后端是\n,返回到前端时由于table单元格无法处理\n换行,那么就需要手动处理问
,这个时候虽然支持换行了,但是如果第一行数据的长度未超过限制,就不会显示“...”展开按钮,也就无法查看完整数据。

通常情况下一些数据是有多行的,比如“备注”等,多行数据在后端是\n,返回到前端时由于table单元格无法处理\n换行,那么就需要手动处理问<br>,这个时候虽然支持换行了,但是如果第一行数据的长度未超过限制,就不会显示“...”展开按钮,也就无法查看完整数据。
@sentsim sentsim merged commit a1214cb into layui:main Jun 20, 2022
@hotlcc hotlcc deleted the feature/develop-table-cell-multiline-open branch June 20, 2022 12:38
@hotlcc hotlcc restored the feature/develop-table-cell-multiline-open branch June 20, 2022 12:38
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

Successfully merging this pull request may close these issues.

None yet

2 participants