c++bug修复

This commit is contained in:
Evan
2026-09-17 11:53:14 +08:00
parent d83654837a
commit 782f76170f
14 changed files with 627 additions and 170 deletions

View File

@@ -1,6 +1,6 @@
// 导入配置信息
import CONFIG from './config.js';
import disableDevtool from 'disable-devtool';
import { initDisableDevtool } from './devtool-control.js';
// 获取 URL 参数的函数
@@ -166,7 +166,7 @@ function showPlatformGuide() {
document.addEventListener('DOMContentLoaded', function () {
if (CONFIG.disabledev) {
disableDevtool({
initDisableDevtool({
ondevtoolopen: () => {
// window.location.href = '/index.html';
// window.location.href = localStorage.getItem('returnUrl');
@@ -3449,4 +3449,4 @@ function getLanguageName(t) {
}
// 导出函数,以便其他模块可以使用
export { getUrlParameter, fetchCompetitionInfo };
export { getUrlParameter, fetchCompetitionInfo };