From ff2fc1a81a48293050f9530232d00b59de4405e3 Mon Sep 17 00:00:00 2001 From: F-loat <945852046@qq.com> Date: Tue, 19 Jun 2018 10:34:50 +0800 Subject: [PATCH] fix: judgment condition of autoHideHeader state --- src/components/SettingDarwer/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SettingDarwer/index.js b/src/components/SettingDarwer/index.js index 4bd80349..79aa11b2 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; } } -- GitLab