Skip to content

4.0.7升级4.0.8后页面无法显示,出现cssinjs死循环问题 #7203

@mfish-qf

Description

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

Version

4.0.8

Environment

windows11,edge114.0.1823.55,vue3.3.12

Reproduction link

https://www.antdv.com/docs/vue/changelog-cn

Steps to reproduce

  • 4.0.7升级4.0.8
  • pnpm run dev启动项目
  • 访问项目路径

What is expected?

页面正常打开

What is actually happening?

无法正常打开

F12报以下错误

main.ts:43  [Vue warn]: Unhandled error during execution of watcher callback
at <AConfigProvider locale= Object theme= Object >
at <App>
warn2 @ runtime-core.esm-bundler.js:41
await in warn2(异步)
(匿名) @ main.ts:43
setTimeout(异步)
(匿名) @ __uno.css:19
(匿名) @ __uno.css:19
util.js:13  Uncaught (in promise) RangeError: Maximum call stack size exceeded
at [Symbol.hasInstance] (<anonymous>)
at util.js:13:11
at Array.forEach (<anonymous>)
at flattenToken (util.js:10:24)
at util.js:16:16
at Array.forEach (<anonymous>)
at flattenToken (util.js:10:24)
at util.js:16:16
at Array.forEach (<anonymous>)
at flattenToken (util.js:10:24)

错误文件在cssinjs中的util.js,死循环了

Metadata

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