mirror of
https://gitee.com/WeBank/fes.js.git
synced 2024-11-30 18:57:56 +08:00
fix: 优化入口文件中的beforeRender的错误日志
This commit is contained in:
parent
2294202cf3
commit
c82e562628
@ -81,7 +81,8 @@ const beforeRender = async () => {
|
||||
try {
|
||||
initialState = await beforeRenderConfig.action();
|
||||
} catch(e){
|
||||
console.error(`[fes] beforeRender执行出现异常`)
|
||||
console.error(`[fes] beforeRender执行出现异常:`);
|
||||
console.error(e);
|
||||
}
|
||||
app.unmount();
|
||||
}
|
||||
|
@ -24,7 +24,20 @@ export default {
|
||||
'changeOrigin': true,
|
||||
},
|
||||
},
|
||||
layout: false,
|
||||
layout: {
|
||||
title: "Fes.js",
|
||||
footer: 'Created by MumbelFe',
|
||||
multiTabs: false,
|
||||
menus: [{
|
||||
name: 'index'
|
||||
}, {
|
||||
name: 'onepiece'
|
||||
}, {
|
||||
name: 'store'
|
||||
}, {
|
||||
name: 'simpleList'
|
||||
}]
|
||||
},
|
||||
locale: {
|
||||
legacy: true
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user