mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-08-22 21:29:55 +08:00
* docs: 更新文档 * break: plugin-layout优化api * break: 去掉switch配置,改为使用navigation * feat: 重构layout * docs: 升级文档 * feat: 无logo和title时隐藏dom * fix: 修复一些问题 * fix: 配置提示 * fix: build watch copy 路径识别问题 * docs: 文档 Co-authored-by: winixt <haizekuo@gmail.com>
16 lines
417 B
Smarty
16 lines
417 B
Smarty
import { plugin, ApplyPluginsType } from '@@/core/coreExports';
|
|
import { initialState } from '@@/initialState';
|
|
|
|
export default () => {
|
|
const initConfig = {{{REPLACE_USER_CONFIG}}}
|
|
const runtimeConfig = plugin.applyPlugins({
|
|
key: 'layout',
|
|
type: ApplyPluginsType.modify,
|
|
initialValue: initConfig,
|
|
args: {
|
|
initialState
|
|
}
|
|
});
|
|
return runtimeConfig;
|
|
};
|