From c78e9418a4950b83893c8c01958a7b9ea159024a Mon Sep 17 00:00:00 2001 From: tanjinzhou <415800467@qq.com> Date: Thu, 17 Sep 2020 14:09:33 +0800 Subject: [PATCH] fix: layout vue warning #2817 --- antdv-demo | 2 +- components/layout/Sider.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/antdv-demo b/antdv-demo index eeb21e6ca..e1b133a8f 160000 --- a/antdv-demo +++ b/antdv-demo @@ -1 +1 @@ -Subproject commit eeb21e6ca8a62fc58a427129f276ec6f7ed19567 +Subproject commit e1b133a8fd56c384a6b66cb2b417ea7dcd7d3f78 diff --git a/components/layout/Sider.jsx b/components/layout/Sider.jsx index 602c1efd4..6c1b07b23 100644 --- a/components/layout/Sider.jsx +++ b/components/layout/Sider.jsx @@ -42,7 +42,7 @@ export const SiderProps = { theme: PropTypes.oneOf(['light', 'dark']).def('dark'), onBreakpoint: PropTypes.func, onCollapse: PropTypes.func, - 'onUpdate:collapse': PropTypes.func, + 'onUpdate:collapsed': PropTypes.func, }; // export interface SiderState {