You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Hello @xqb0407. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with needs reproduction will be closed if they have no activity within 3 days.
Describe the bug
开发环境正常, 打包上线后出现,Cannot assign to read only property '_status' of object '#
Reproduction
null
Steps to reproduce
版本号是:"vite": "^5.1.0",
实际发现是动态加载路由导致的
element: lazyLoad(React.lazy(() => import("@/pages/base/userCenter")))
如果直接使用
import Login from "@/pages/auth/Login";
element: ,
不会报错
System Info
Used Package Manager
yarn
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: