From 078bb50028d81a5d5a0869ea60ffd9147e33197f Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 29 Feb 2016 21:02:50 +0800 Subject: [PATCH] fix receiving activeKey --- src/MenuMixin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MenuMixin.js b/src/MenuMixin.js index 75f44b00..beb51c2d 100644 --- a/src/MenuMixin.js +++ b/src/MenuMixin.js @@ -89,7 +89,7 @@ const MenuMixin = { componentWillReceiveProps(nextProps) { let props; - if (nextProps.activeKey) { + if ('activeKey' in nextProps) { props = { activeKey: getActiveKey(nextProps, nextProps.activeKey), };