提交 a065ae81 编写于 作者: Cano1997's avatar Cano1997

update: 表格列添加属性名class

上级 1c89f8bd
......@@ -130,7 +130,11 @@ export const GridFieldColumn = defineComponent({
}
return (
<div
class={[this.ns.b(), c.clickable && this.ns.m('clickable')]}
class={[
this.ns.b(),
c.clickable && this.ns.m('clickable'),
this.ns.m(c.model.codeName),
]}
style={this.alignStyle}
onClick={this.onCellClick}
>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册