hongrunxia 2 тижнів тому
батько
коміт
e199934ff2

+ 3 - 2
src/views/vent/monitorManager/windowMonitor/window.threejs.ts

@@ -152,6 +152,7 @@ export const play = (rotationParam, flag) => {
 export const setModelType = (type) => {
   // if (!model || !model.scene) return;
   const { sysOrgCode } = useGlobSetting();
+  // sysOrgCode = 'sdmtjtyjlmk';
   windowType = type;
   return new Promise((resolve) => {
     // 显示双道风窗
@@ -214,8 +215,8 @@ export const setModelType = (type) => {
 };
 
 export const mountedThree = (playerDom) => {
-  let { sysOrgCode } = useGlobSetting();
-  sysOrgCode = 'sdmtjtyjlmk';
+  const { sysOrgCode } = useGlobSetting();
+  // sysOrgCode = 'sdmtjtyjlmk';
   return new Promise(async (resolve) => {
     model = new UseThree('#window3D');
     if (!model || !model.renderer || !model.camera) return;