diff --git a/src/components/SettingDarwer/index.js b/src/components/SettingDarwer/index.js index 4bd80349b4d01af6b779b3c323f9362a35304ace..79aa11b2617f292e8194828054558f7125ffed54 100644 --- a/src/components/SettingDarwer/index.js +++ b/src/components/SettingDarwer/index.js @@ -101,7 +101,7 @@ class SettingDarwer extends PureComponent { } } if (key === 'fixedHeader') { - if (value) { + if (!value) { nextState.autoHideHeader = false; } }