Skip to content

🧐[问题] pro-layout 配置 suppressSiderWhenMenuEmpty 在移动端仍会渲染 ant-pro-global-header-collapsed-button #7312

Open
@liuzhaowei55

Description

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

🧐 问题描述

menu 为空,同时配置 suppressSiderWhenMenuEmpty: true,在移动端展示时,header 左上角仍会渲染 ant-pro-global-header-collapsed-button span,期望是 menu 为空时不要渲染

image

💻 示例代码

https://github.com/anydong/vite-template-admin

🚑 其他信息

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions