d-render
Version:
基于 Element Plus 二次封装的数据驱动渲染组件库 - 表单、搜索表单、表格配置化渲染
18 lines (16 loc) • 371 B
JavaScript
const dateColumnWidthMap = {
large: 168,
default: 168,
small: 144
};
const handleColumnWidthMap = {
large: 140,
default: 140,
small: 124
};
const sizeCellConfig = {
large: { fontSize: 14, padding: 10 },
default: { fontSize: 14, padding: 10 },
small: { fontSize: 12, padding: 10 }
};
export { dateColumnWidthMap, handleColumnWidthMap, sizeCellConfig };