Browse Source

1. 风窗修改

hongrunxia 3 weeks ago
parent
commit
e199934ff2
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/vent/monitorManager/windowMonitor/window.threejs.ts

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

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