ebarCompactSwitch = localStorage.getItem("sidebarCompactSwitch");
        if (sidebarCompactSwitch && sidebarCompactSwitch == "true") {
            $("#sidebarCompactSwitch").prop("checked", true);
            toggleSidebarCompact();
        }

        // 处理缩进侧边栏
        var sidebarIndentSwitch = localStorage.getItem("sidebarIndentSwitch");
        if (sidebarIndentSwitch && sidebarIndentSwitch == "true") {
            $("#sidebarIndentSwitch").prop("checked", true);
            togg