Skip to content

使用iconfontUrl 配置后一级页面(不存在左边导航菜单的路由页面)无法加载图标 #11424

Open
@liueiamp

Description

Reproduction link

https://github.com/ant-design/ant-design

Steps to reproduce

ant-design-pro 在配置iconfontUrl 后,一级路由页面不会自动加载图标,只有一个独立页面,没有左边二级菜单,这样的页面都不会加载图标,请检查下问题,我们测试了很久无法解决

What is expected?

iconfontUrl 配置后,每个页面都应该正常加载图标

What is actually happening?

一级页面不加载

Environment Info
antd 5.23.1
React 18.2.0
System win11
Browser edge

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions