Parcourir la source

修改节点鼠标形状

zhangxc il y a 5 ans
Parent
commit
e3ee8f2752
3 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. 2 0
      src/css/knowledgeTree.less
  2. 0 1
      src/js/graphMap.js
  3. 2 2
      src/js/schemaMap.js

+ 2 - 0
src/css/knowledgeTree.less

@@ -73,6 +73,7 @@
             border-radius: 4px;
             top: 20px;
             font-size: 14px;
+            cursor: pointer;
         }
         .mainBox{
             position: relative;
@@ -98,6 +99,7 @@
         }
         .mainWrapper{
             border: 1px solid #E6E6E6;
+            cursor: pointer;
         }
     }
     .disabled{

+ 0 - 1
src/js/graphMap.js

@@ -93,7 +93,6 @@ function drawGraph(data,resultShowId) {
                         width: 2,
                         cursor:'default',
                         color: 'target'
-
                     }
                 },
                 edgeLabel: {

+ 2 - 2
src/js/schemaMap.js

@@ -33,7 +33,7 @@ function getSchema(val, type){
         series:[
             {
                 type: 'tree',
-                cursor:'default',
+                cursor:'pointer',
                 data: data,
     
                 left: '105px',
@@ -77,7 +77,7 @@ function getSchema(val, type){
                 },
     
                 leaves: {
-                    cursor:'default',
+                    cursor:'pointer',
                     label: {
                       
                         normal: {