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

cell-group 设置 bordered 无法生效 #2088

Closed
FFIB opened this issue Jun 13, 2023 · 2 comments · Fixed by #2089
Closed

cell-group 设置 bordered 无法生效 #2088

FFIB opened this issue Jun 13, 2023 · 2 comments · Fixed by #2089

Comments

@FFIB
Copy link

FFIB commented Jun 13, 2023

cell-group 设置bordered无法生效。

查看源码。
image
image

由于在cls方法中,value是对应的判断值,而key是生成对应的class样式,其中bordered传参和字符串'bordered'传参的顺序反了

在本地将代码进行如下修改,可正常显示上下边框。

<view
  style="{{_._style([style, customStyle])}}"
  class="{{_.cls(classPrefix, [['bordered', bordered], theme])}} class {{prefix}}-class">
@github-actions
Copy link
Contributor

👋 @FFIB,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@anlyyao
Copy link
Collaborator

anlyyao commented Jun 13, 2023

@FFIB 感谢反馈,确实疏忽了。(欢迎给我们提 pr~)

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 a pull request may close this issue.

2 participants