Explorar o código

fix: judgment condition of autoHideHeader switch

F-loat %!s(int64=7) %!d(string=hai) anos
pai
achega
8e3050aec0
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

@@ -60,7 +60,7 @@ class SettingDarwer extends PureComponent {
       },
       {
         title: '下滑时隐藏 Header',
-        hide: fixedHeader,
+        hide: !fixedHeader,
         action: [
           <Switch
             size="small"