fix: Picker disabled today (#24190)

This commit is contained in:
二货机器人 2020-05-15 18:45:10 +08:00 committed by GitHub
parent 188e5630b3
commit a83143bbbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View File

@ -587,7 +587,8 @@ Array [
class="ant-picker-footer" class="ant-picker-footer"
> >
<a <a
class="ant-picker-today-btn" aria-disabled="true"
class="ant-picker-today-btn ant-picker-today-btn-disabled"
> >
Today Today
</a> </a>

View File

@ -436,6 +436,11 @@
&:active { &:active {
color: @link-active-color; color: @link-active-color;
} }
&&-disabled {
color: @disabled-color;
cursor: not-allowed;
}
} }
// ======================================================== // ========================================================

View File

@ -127,7 +127,7 @@
"rc-menu": "~8.1.0", "rc-menu": "~8.1.0",
"rc-notification": "~4.3.0", "rc-notification": "~4.3.0",
"rc-pagination": "~2.2.0", "rc-pagination": "~2.2.0",
"rc-picker": "~1.4.0", "rc-picker": "~1.4.16",
"rc-progress": "~3.0.0", "rc-progress": "~3.0.0",
"rc-rate": "~2.6.0", "rc-rate": "~2.6.0",
"rc-resize-observer": "^0.2.0", "rc-resize-observer": "^0.2.0",