Explorar o código

fix: judgment condition of autoHideHeader state

F-loat %!s(int64=8) %!d(string=hai) anos
pai
achega
ff2fc1a81a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/SettingDarwer/index.js

+ 1 - 1
src/components/SettingDarwer/index.js

@@ -101,7 +101,7 @@ class SettingDarwer extends PureComponent {
       }
     }
     if (key === 'fixedHeader') {
-      if (value) {
+      if (!value) {
         nextState.autoHideHeader = false;
       }
     }