yrik 4 년 전
부모
커밋
85dd6edbae
1개의 변경된 파일8개의 추가작업 그리고 2개의 파일을 삭제
  1. 8 2
      ruoyi-ui/src/layout/components/Sidebar/index.vue

+ 8 - 2
ruoyi-ui/src/layout/components/Sidebar/index.vue

@@ -63,9 +63,15 @@ export default {
             return this.tabIndex;
         },
         activeMenuT(){
-          let tabshow = {}
+          let tabshow = ''
           console.log(this.tabIndex,234)
-         return this.tabIndex
+          if(this.tabIndex == 'index'){
+             tabshow = '/' + this.tabIndex
+          }else{
+            tabshow = this.tabIndex
+          }
+         console.log(tabshow,345)
+         return tabshow
         },
         handleSide() {
           let add = []