umi-next
umi-next copied to clipboard
[BUG] pro layout 运行时配置, `RunTimeLayoutConfig `类型错误
https://github.com/umijs/umi-next/blob/master/packages/plugins/src/layout.ts#L202-L218
-
BasicLayoutProps
未导入 -
useModel
文件不存在 -
InitDataType
类型错误应为Model<'@@initialState'>
第2和第3点应该是没在 umi config 中添加 model: {},
和 initialState: {},
第2和第3点应该是没在 umi config 中添加
model: {},
和initialState: {},
加了的,这块插件代码应该还不完善
新版的将之前的 useModel 移到 index.tsx 中了