#
luxiaotao1123
2024-02-26 f3e2bc0c15f0b2d355ac3dc682dacfb7883ca66b
#
1个文件已修改
7 ■■■■■ 已修改文件
zy-asrs-flow/src/App.jsx 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/App.jsx
@@ -85,7 +85,7 @@
// 优先级 layout > config > defaultSetting
export const layout = ({ initialState, setInitialState }) => {
  const [darkMode, setDarkMode] = React.useState(() => {
    return JSON.parse(localStorage.getItem('darkMode')) || false;
    return JSON.parse(localStorage.getItem('darkMode')) || true;
  });
  React.useEffect(() => {
@@ -169,7 +169,7 @@
      return (
        <>
          {children}
          {isDev && (
          {/* {isDev && (
            <SettingDrawer
              disableUrlParams
              enableDarkTheme
@@ -182,7 +182,7 @@
                }));
              }}
            />
          )}
          )} */}
        </>
      );
    },
@@ -201,6 +201,7 @@
    footerRender: false,  // 页脚 启用请注释,不是设置为true
    logo: darkMode ? logo : logoDark,
    title: false,
    colorWeak: true,
  };
};