From b80a70f99f628529f6390d43d26564aeae78354f Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 26 Dec 2022 13:41:45 +0800 Subject: [PATCH] fix(Drawer): default props not working (#39782) * fix(Drawer): default props not working * Update scripts/post-script.js * Update scripts/post-script.js Co-authored-by: MadCcc <1075746765@qq.com> --- package.json | 2 +- scripts/post-script.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 08568f34f580..25e2605363a5 100644 --- a/package.json +++ b/package.json @@ -122,7 +122,7 @@ "rc-checkbox": "~2.3.0", "rc-collapse": "~3.4.2", "rc-dialog": "~9.0.2", - "rc-drawer": "~6.1.0", + "rc-drawer": "~6.1.1", "rc-dropdown": "~4.0.0", "rc-field-form": "~1.27.0", "rc-image": "~5.12.0", diff --git a/scripts/post-script.js b/scripts/post-script.js index 97067c460cbf..96461bfd23b6 100644 --- a/scripts/post-script.js +++ b/scripts/post-script.js @@ -24,7 +24,8 @@ const DEPRECIATED_VERSION = { ], '4.24.0': ['https://github.com/ant-design/ant-design/issues/38371'], '5.0.4': ['https://github.com/ant-design/ant-design/issues/39284'], - '5.0.6': [], + '5.0.6': ['https://github.com/ant-design/ant-design/issues/39807'], + '5.1.0': ['https://github.com/react-component/drawer/pull/370'], }; function matchDeprecated(version) {