diff --git a/src/App.vue b/src/App.vue index 3acb489729862632f224b909229d810ad5cd02a7..6e7eda95f95871ba9518c32570d93484d29ac6f5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,7 +8,8 @@ v-if="nowParent" :highlightParentRule="highlightParentRule" width="208px" - :list="nowParent" + :title="nowParent[0].menuName" + :list="nowParent[0].children" v-show="navShow" class="con-nav" />
diff --git a/src/bg-ui/bg-nav-list.vue b/src/bg-ui/bg-nav-list.vue index 636ae86c4708bcc6efe8931a1362241300e93b0f..53f5dfd895330ad75eb5b3802058f1a70310434e 100644 --- a/src/bg-ui/bg-nav-list.vue +++ b/src/bg-ui/bg-nav-list.vue @@ -94,3 +94,16 @@ const isCurrent = (path) => { return (props.highlightParentRule && props.highlightParentRule(path)) || false; }; + + diff --git a/src/bg-ui/bg-nav.vue b/src/bg-ui/bg-nav.vue index 8cfb342d84f8b0fe654d1a132210b83820b59613..cd8f9a41ae0d3f71c3f6236e875d90ba6baa09ac 100644 --- a/src/bg-ui/bg-nav.vue +++ b/src/bg-ui/bg-nav.vue @@ -1,7 +1,7 @@