fix: Table Title Error 2

This commit is contained in:
JinMao 2022-03-18 13:50:03 +08:00
parent 5c24a1c4c4
commit 8f1bd4ae76

View File

@ -29,7 +29,7 @@
const { prefixCls } = useDesign('basic-table-header-cell');
const getIsEdit = computed(() => !!props.column?.edit);
const getTitle = computed(() => props.column?.customTitle);
const getTitle = computed(() => props.column?.customTitle || props.column?.title);
const getHelpMessage = computed(() => props.column?.helpMessage);
return { prefixCls, getIsEdit, getTitle, getHelpMessage };