leSidebarIndent();
        }

        // 处理模态侧边栏
        var sidebarModalSwitch = localStorage.getItem("sidebarModalSwitch");
        if (sidebarModalSwitch && sidebarModalSwitch == "true") {
            $("#sidebarModalSwitch").prop("checked", true);
            toggleSidebarModal();
        }

        // 处理侧边栏主题
        var sidebarThemeSwitch = localStorage.getItem("sidebarThemeSwitch");
        if (sidebarThemeSwitch && sidebarThemeSwitch == "true") {
            