Skip to content

生产环境下偶尔出现图标乱码,无图标的位置会出现A符号 #6774

@XZYW

Description

@XZYW
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.0.0-rc.6

Environment

Vue:3.3.4
Vite:4.3.8
Antdv:3.2.20
Less:4.1.3

Reproduction link

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

Steps to reproduce

在开发环境下,没有出现过任何问题,但当我部署到线上时,它偶尔会出现乱码的图标
image
image

What is expected?

尽可能提供指导和帮助。

What is actually happening?

在生产环境下会偶尔出现乱码的图标。
我已经尝试过在网络上搜索答案,有很多element的用户都碰到这个问题,原因是项目和组件库使用sass的版本不一致,将dart sass切换成node sass可以很好的解决这个问题。可是我对比过了,我的less版本和antdv使用的是一样的。我翻阅了repo issue,并没有找到类似的情况。
我不知道究竟发生了什么,如果能提供帮助,不胜感激。


很抱歉我无法提供一个这样的重现,因为它是极低概率在生产环境下偶发的

Metadata

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