Skip to content

Commit c78e941

Browse files
committed
fix: layout vue warning #2817
1 parent 2b422dd commit c78e941

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

antdv-demo

components/layout/Sider.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const SiderProps = {
4242
theme: PropTypes.oneOf(['light', 'dark']).def('dark'),
4343
onBreakpoint: PropTypes.func,
4444
onCollapse: PropTypes.func,
45-
'onUpdate:collapse': PropTypes.func,
45+
'onUpdate:collapsed': PropTypes.func,
4646
};
4747

4848
// export interface SiderState {

0 commit comments

Comments
 (0)