Commit 9caad6ce authored by 周远喜's avatar 周远喜

打开日志关闭侧栏

parent 3db1dad0
...@@ -34,6 +34,7 @@ export default { ...@@ -34,6 +34,7 @@ export default {
$route(to, from) { $route(to, from) {
console.warn("to,from", to, from); console.warn("to,from", to, from);
let path = to.matched[to.matched.length - 1].path; let path = to.matched[to.matched.length - 1].path;
debugger;
if (!Setting.dynamicSiderMenu) { if (!Setting.dynamicSiderMenu) {
let headerName = getHeaderName(path, menuSider); let headerName = getHeaderName(path, menuSider);
if (headerName === null) { if (headerName === null) {
......
...@@ -9,7 +9,7 @@ export default [ ...@@ -9,7 +9,7 @@ export default [
name: 'home' name: 'home'
}, },
{ {
path: '/log', path: '/system/log',
title: '日志', title: '日志',
icon: 'md-locate', icon: 'md-locate',
hideSider: true, hideSider: true,
......
export default { export default {
path: '/log', path: '/system/log',
title: '前端日志', title: '前端日志',
header: 'system', header: 'system',
icon: 'md-locate' icon: 'md-locate'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment