mirror of https://github.com/certd/certd
chore:
parent
12ed79ca60
commit
add8efaba8
|
@ -335,21 +335,21 @@ function install(app: App, options: any = {}) {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
// registerMergeColumnPlugin({
|
registerMergeColumnPlugin({
|
||||||
// name: "reset-values-format-colors",
|
name: "reset-values-format-colors",
|
||||||
// order: 10,
|
order: 10,
|
||||||
// handle: (columnProps: ColumnCompositionProps) => {
|
handle: (columnProps: ColumnCompositionProps) => {
|
||||||
// // 你可以在此处做你自己的处理
|
// 你可以在此处做你自己的处理
|
||||||
// // 比如你可以定义一个readonly的公共属性,处理该字段只读,不能编辑
|
// 比如你可以定义一个readonly的公共属性,处理该字段只读,不能编辑
|
||||||
// if (columnProps.column?.component?.name === "fs-values-format") {
|
if (columnProps.column?.component?.name === "fs-values-format") {
|
||||||
// // 合并column配置
|
// 合并column配置
|
||||||
// if (!columnProps.column.component.autoColors) {
|
if (!columnProps.column.component.autoColors) {
|
||||||
// columnProps.column.component.autoColors = ["pink", "green", "cyan", "blue", "purple", "volcano", "lime", "geekblue", "#2db7f5", "#87d068", "#108ee9"];
|
columnProps.column.component.autoColors = ["green", "cyan", "blue", "purple", "geekblue"];
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
// return columnProps;
|
return columnProps;
|
||||||
// },
|
},
|
||||||
// });
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
Loading…
Reference in New Issue