We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be21eff commit 1f7edbdCopy full SHA for 1f7edbd
js/i18n/i18n-case-detail.js
@@ -131,7 +131,7 @@ class I18nCaseDetail {
131
`(window.currentLang === 'zh-CN' ? '❌ 未能完全绕过 debugger 断点' : '❌ Failed to completely bypass the debugger breakpoint')`);
132
133
// 处理变量重复声明问题
134
- newContent = newContent.replace(/let\s+isTestRunning/g, 'window.isTestRunning = window.isTestRunning ||');
+ newContent = newContent.replace(/let\s+isTestRunning/g, 'window.isTestRunning = window.isTestRunning || false');
135
136
// 在脚本开头添加当前语言变量(如果不存在)
137
newContent = `if (typeof window.currentLang === 'undefined') { window.currentLang = "${currentLang}"; }\n` + newContent;
0 commit comments