Skip to content

Conversation

@fr11dom
Copy link
Contributor

@fr11dom fr11dom commented Oct 30, 2015

1、表头支持 align 对齐方式设置
2、之前表格以 style 的方式添加的 align ,并且默认值是leftstyle 优先级可能会影响后续样式的添加,本次改动去掉默认值 left,用户如果没有设置,dom 上就不会添加 style
3、优化了之前表格合并的demo

@fr11dom fr11dom changed the title support th align,optimize a demo of colspan-rowspan.htm support th align,optimize the demo of colspan-rowspan.htm Oct 30, 2015
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

直接 align = tdProps.align; 就够了吧?

@yiminghe
Copy link
Member

直接支持 style 设置算了

{
title:
style: ...

}

@afc163
Copy link
Member

afc163 commented Oct 30, 2015

style 现在都可以这么实现,感觉区别不大。

{
  title: <div style={style}></div>
}

@yiminghe
Copy link
Member

那这个可以关闭了吧,尽量不要增加功能

@fr11dom fr11dom closed this Oct 30, 2015
@afc163 afc163 deleted the feature-th-align branch June 20, 2016 10:10
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.

4 participants