feat: 自行开发设计 ui样式优化 超管端-控制台 相关的页面

This commit is contained in:
zhanjunhao
2026-11-09 21:45:37 +08:00
parent 6ad95e2baa
commit 5713d541b0
242 changed files with 9242 additions and 5043 deletions
@@ -21,6 +21,7 @@ import React from 'react';
import { Button } from '@/components/ui';
import PropTypes from 'prop-types';
import { useIsMobile } from '../../../hooks/common/useIsMobile';
import { useConsolePage } from '../../console/ConsoleContext';
/**
* 紧凑模式切换按钮组件
@@ -37,9 +38,10 @@ const CompactModeToggle = ({
...props
}) => {
const isMobile = useIsMobile();
const consolePage = useConsolePage();
// 在移动端隐藏紧凑列表切换按钮
if (isMobile) {
// Console lists keep their stored density, but no longer expose a toggle.
if (isMobile || consolePage) {
return null;
}