Commit 06406809 authored by 周远喜's avatar 周远喜

okhi

parent 9caad6ce
......@@ -34,7 +34,6 @@ export default {
$route(to, from) {
console.warn("to,from", to, from);
let path = to.matched[to.matched.length - 1].path;
debugger;
if (!Setting.dynamicSiderMenu) {
let headerName = getHeaderName(path, menuSider);
if (headerName === null) {
......
const pre = '/dashboard/';
export default {
path: '/dashboard',
title: 'Dashboard',
header: 'home',
icon: 'md-speedometer',
children: [
{
path: `${pre}console`,
title: '主控台'
}
]
path: '/dashboard',
title: 'Dashboard',
header: 'home',
icon: 'md-speedometer',
children: [{
path: `${pre}console`,
title: '主控台'
}
],
}
......@@ -6,5 +6,11 @@ import log from './modules/log';
export default [
dashboard,
log
log,
{
path: '/hello',
title: 'hello',
header: 'home',
icon: 'md-home'
}
];
<template>
<h1>这是一个测试页面</h1>
</template>
<script>
export default {
}
</script>
\ No newline at end of file
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