소스 검색

优化-评审评价指标:点击左侧目录后,保留当前指标所在位置

liyanyan 1 주 전
부모
커밋
b90730284d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/views/allcase/majorIndex.vue

+ 1 - 0
src/views/allcase/majorIndex.vue

@@ -492,6 +492,7 @@ export default {
           this.getList()
         }
       }
+      this.$refs.treeRef.setCurrentKey(this.indexData.id)
     },
     reComputed() {
       const params = {