element table动态添加列样式
element
A Vue.js 2.0 UI Toolkit for Web
项目地址:https://gitcode.com/gh_mirrors/eleme/element

·
项目是:vue-li+element-ui+axios+qs+vue-router框架
当前样式表现为:
如果要将状态涂上不同的背景颜色来更明显的区分不同状态,该怎么实现
显示思路:
1.添加属性cell-style,并起名cellStyle,然后再methods添加cellStyle的实现代码。
注意:columnIndex是指向该行的对应列




A Vue.js 2.0 UI Toolkit for Web
最近提交(Master分支:16 天前 )
c345bb45
1 年前
a07f3a59
* Update transition.md
* Update table.md
* Update transition.md
* Update table.md
* Update transition.md
* Update table.md
* Update table.md
* Update transition.md
* Update popover.md 1 年前
更多推荐
所有评论(0)