mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 11:35:58 +08:00
wip(table): perf table #136,146,134
This commit is contained in:
@@ -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,
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user