Преглед на файлове

fix: judgment condition of autoHideHeader switch

F-loat преди 7 години
родител
ревизия
8e3050aec0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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"