|
|
|
@ -3,6 +3,7 @@
@@ -3,6 +3,7 @@
|
|
|
|
|
<logo v-if="showLogo" :collapse="isCollapse" /> |
|
|
|
|
<el-scrollbar wrap-class="scrollbar-wrapper"> |
|
|
|
|
<el-menu |
|
|
|
|
:router="true" |
|
|
|
|
:default-active="activeMenu" |
|
|
|
|
:collapse="isCollapse" |
|
|
|
|
:background-color="variables.menuBg" |
|
|
|
@ -90,6 +91,7 @@ export default {
@@ -90,6 +91,7 @@ export default {
|
|
|
|
|
newMenu = { |
|
|
|
|
path: '/subfile?id='+item.id, |
|
|
|
|
meta: { title: item.directory, icon: 'dashboard' }, |
|
|
|
|
class: 'file', |
|
|
|
|
children:[] |
|
|
|
|
} |
|
|
|
|
if (item.directories && item.directories.length > 0) { |
|
|
|
@ -105,6 +107,7 @@ export default {
@@ -105,6 +107,7 @@ export default {
|
|
|
|
|
let thiss = this; |
|
|
|
|
//console.log(this.$route); |
|
|
|
|
// console.log(this.$store); |
|
|
|
|
|
|
|
|
|
mirlist().then(response => { |
|
|
|
|
let datamain = response.data; |
|
|
|
|
this.routes[1].children = this.SplicingMenuTree(datamain.data.menus); |
|
|
|
|