Antd Select框禁用后,文字不能复制问题解决

问题解决:
.ant-select-disabled {
cursor: default; // 去掉悬浮时出现的小手
.ant-select-selector {
pointer-events: none; // 你可以看到元素,但你操作不到,操作会穿透触发到下层的元素
.ant-select-selection-item {
user-select: auto; // 允许选择文本
}
}
}
浙公网安备 33010602011771号