This commit is contained in:
bac-joker 2021-03-03 15:11:31 +08:00
commit 0a8381bec6
2 changed files with 16 additions and 2 deletions

View File

@ -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();
}

View File

@ -27,7 +27,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
},