c++bug修复
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user