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

update: 支持表格单元格样式表

上级 a329f357
......@@ -87,6 +87,11 @@ export const GridFieldColumn = defineComponent({
);
}
const cellCssName = computed(() => {
const cellSysCss = c.model.source.getCellPSSysCss();
return cellSysCss?.cssName;
});
return {
ns,
alignStyle,
......@@ -94,6 +99,7 @@ export const GridFieldColumn = defineComponent({
CustomHtml,
onCellClick,
enableGridRowBreak,
cellCssName,
};
},
render() {
......@@ -134,6 +140,7 @@ export const GridFieldColumn = defineComponent({
this.ns.b(),
c.clickable && this.ns.m('clickable'),
this.ns.m(c.model.codeName),
this.cellCssName,
]}
style={this.alignStyle}
onClick={this.onCellClick}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册