|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
import { Intent } from '@blueprintjs/core';
|
|
|
|
|
import { Cache, Layers, Object3D } from 'three';
|
|
|
|
|
import { HostApplicationServices } from './ApplicationServices/HostApplicationServices';
|
|
|
|
|
import { ColorPalette } from './Common/ColorPalette';
|
|
|
|
|
import { ErrorMonitoring, ReportError } from './Common/ErrorMonitoring';
|
|
|
|
|
import { LogEnable, ReportErrorWrap } from './Common/Log';
|
|
|
|
|
import { copyTextToClipboard } from './Common/Utils';
|
|
|
|
@ -162,6 +163,9 @@ window.onload = function ()
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (new URLSearchParams(location.search).has("semang"))//色盲模式
|
|
|
|
|
ColorPalette[2] = [74, 144, 226, 255];
|
|
|
|
|
|
|
|
|
|
if (window.location.hostname === "t.cfcad.cn")
|
|
|
|
|
AppToaster.show({
|
|
|
|
|
message: "这个环境仅供测试使用!!!请勿在生产中使用这个地址,否则将产生错误图纸或者无法打开的图纸!!!(本地址仅供测试账号使用,数据随时清空)",
|
|
|
|
|