物业代码生成
This commit is contained in:
17
packages/preferences/src/index.ts
Normal file
17
packages/preferences/src/index.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import type { Preferences } from '@vben-core/preferences';
|
||||
import type { DeepPartial } from '@vben-core/typings';
|
||||
|
||||
/**
|
||||
* 如果你想所有的app都使用相同的默认偏好设置,你可以在这里定义
|
||||
* 而不是去修改 @vben-core/preferences 中的默认偏好设置
|
||||
* @param preferences
|
||||
* @returns
|
||||
*/
|
||||
|
||||
function defineOverridesPreferences(preferences: DeepPartial<Preferences>) {
|
||||
return preferences;
|
||||
}
|
||||
|
||||
export { defineOverridesPreferences };
|
||||
|
||||
export * from '@vben-core/preferences';
|
Reference in New Issue
Block a user