yrik %!s(int64=4) %!d(string=hai) anos
pai
achega
85dd6edbae
Modificáronse 1 ficheiros con 8 adicións e 2 borrados
  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 = []