We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⚠️ 重要 ⚠️ 在进一步操作之前,请检查下列选项。如果您忽视此模板或者没有提供关键信息,您的 Issue 将直接被关闭
在使用国际化时,静态国际化文件没有问题,当调用后台请求时,访问页面一直停留在启动画面,浏览器中的console显示错误:ReferenceError: Cannot access 't' before initialization
获取版本为:2.11.4的代码,修改文件setupI18n.ts中的代码,修改代码如下: 在19行:const message = defaultLocal.default?.message ?? {};下面添加以下代码: let routeList: AppRouteRecordRaw[] = (await getMenuList()) as AppRouteRecordRaw[];
使用mock方式启动项目,在浏览器访问就会报错:ReferenceError: Cannot access 't' before initialization。 去掉这个请求就可以正常。
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
No branches or pull requests
描述 Bug
在使用国际化时,静态国际化文件没有问题,当调用后台请求时,访问页面一直停留在启动画面,浏览器中的console显示错误:ReferenceError: Cannot access 't' before initialization
复现 Bug
获取版本为:2.11.4的代码,修改文件setupI18n.ts中的代码,修改代码如下:
在19行:const message = defaultLocal.default?.message ?? {};下面添加以下代码:
let routeList: AppRouteRecordRaw[] = (await getMenuList()) as AppRouteRecordRaw[];
使用mock方式启动项目,在浏览器访问就会报错:ReferenceError: Cannot access 't' before initialization。
去掉这个请求就可以正常。
系统信息
The text was updated successfully, but these errors were encountered: