浏览代码

小问题

hbchen 1 年之前
父节点
当前提交
688bd205a7
共有 2 个文件被更改,包括 1 次插入4 次删除
  1. 0 3
      src/views/help/Index.vue
  2. 1 1
      src/views/help/components/menuBox.vue

+ 0 - 3
src/views/help/Index.vue

@@ -117,9 +117,6 @@ const scrollChange=()=>{
     if(!hashit){
         currentNodeKey.value=''
     }
-}
-const location=(e,id)=>{
-
 }
 </script>
 

+ 1 - 1
src/views/help/components/menuBox.vue

@@ -18,7 +18,7 @@ const getDocument=(id)=>{
 
 <template>
   <el-menu-item :index="(prop.item.ClassifyId+'')">
-    <span @click="getDocument(prop.item.ClassifyId)">{{prop.item.ClassifyName}}</span>
+    <span @click="getDocument(prop.item.ClassifyId)" style="width: 100%;">{{prop.item.ClassifyName}}</span>
   </el-menu-item>
 </template>