From 9c2c0bbc11f42bf17f913fd72f173950d20c6003 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 9 Sep 2020 17:35:02 +0800 Subject: [PATCH] fix: fix Vue warning caused by missing emits --- components/layout/Sider.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/layout/Sider.jsx b/components/layout/Sider.jsx index 602c1efd4c..ad5ffb0472 100644 --- a/components/layout/Sider.jsx +++ b/components/layout/Sider.jsx @@ -74,6 +74,7 @@ export default { width: 200, collapsedWidth: 80, }), + emits: ['update:collapsed', 'breakpoint', 'collapse'], data() { this.uniqueId = generateId('ant-sider-'); let matchMedia;