wip(table): perf table #136,146,134

This commit is contained in:
vben
2020-12-29 23:37:40 +08:00
parent 405d7466dd
commit 116a1f7745
64 changed files with 1858 additions and 929 deletions

View File

@@ -11,7 +11,6 @@ import { PROJ_CFG_KEY } from '/@/enums/cacheEnum';
import projectSetting from '/@/settings/projectSetting';
import { getLocal } from '/@/utils/helper/persistent';
import { isUnDef, isNull } from '/@/utils/is';
import {
updateGrayMode,
updateColorWeak,
@@ -76,16 +75,3 @@ export function initAppConfigStore() {
}
appStore.commitProjectConfigState(projCfg);
}
// antdv Config Provider
export function getConfigProvider() {
function transformCellText({ text }: { text: string }) {
if (isNull(text) || isUnDef(text)) {
return ' - ';
}
return text;
}
return {
transformCellText,
};
}