소스 검색

feat(init): fix tree item color

gemercheung 1 년 전
부모
커밋
0bc2155d13
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/view/map/map-right.vue

+ 3 - 1
src/view/map/map-right.vue

@@ -237,6 +237,7 @@ const handlerExport = (type: number, name: string) => {
 :deep(.el-tree-node__content) {
   --el-tree-node-content-height: 26px;
   line-height: 26px;
+  user-select: none;
 
 }
 
@@ -277,13 +278,14 @@ const handlerExport = (type: number, name: string) => {
 
     .name {
       padding-left: 15px;
-
+      color: #999;
     }
   }
 
   .oper {
     flex: none;
     line-height: 26px;
+    vertical-align: middle;
   }
 }