浏览代码

fix: 修改TreeSelect不能选的样式

outaozhen 3 年之前
父节点
当前提交
d58959a854
共有 1 个文件被更改,包括 5 次插入0 次删除
  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;
+}