Browse Source

fix: 修改TreeSelect不能选的样式

outaozhen 3 years ago
parent
commit
d58959a854
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/global.less

+ 5 - 0
src/global.less

@@ -106,3 +106,8 @@ ol {
     padding-bottom: 0;
   }
 }
+
+.ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper {
+  color: rgba(0, 0, 0, 0.45) !important;
+  cursor: not-allowed;
+}