Explorar el Código

[Pref 0000] 打包优化

houzekong hace 17 horas
padre
commit
80d15460fd

+ 0 - 1
src/views/vent/home/billboard/components/FileOverview.vue

@@ -109,4 +109,3 @@
     }
   }
 </style>
-onMounted, import { getSummary } from '../billboard.api';onMounted, import { getSummary } from '../billboard.api';

+ 0 - 2
src/views/vent/home/clique/dust.data.ts

@@ -1,5 +1,3 @@
-import { title } from 'process';
-
 export const dustSysData = () => [
   {
     surface_caimei_data: [],

+ 2 - 2
src/views/vent/monitorManager/fanLocalMonitor/fanLocal.threejs.ts

@@ -66,8 +66,8 @@ function initEventListender() {
 
 /** 设置模型类型并切换,不同的类型通常对应不同的具体模型,在模型总控制器下的具体模型会根据传入的参数彼此交互、切换 */
 export function setModelType(modelType: 'fanLocal' | 'fanLocalDual' | 'fanLocalSingle' | string, subModelType: string, data?: any) {
-  return new Promise((resolve, reject) => {
-    if (!model) return reject('模型控制器未初始化');
+  return new Promise((resolve) => {
+    if (!model) return resolve(null);
     // 判断是否是同一个/类模型
     if (cacheKey === `${modelType}-${subModelType}`) return resolve(null);
     // const isUpdate = cacheKey.startsWith(modelType);

+ 5 - 5
src/views/vent/monitorManager/fanLocalMonitor/index.vue

@@ -189,8 +189,8 @@
                                 getFanValue(state.dataIndex, 'Fan1') === undefined
                                   ? '无状态'
                                   : getFanValue(state.dataIndex, 'Fan1') == '0'
-                                    ? '正常'
-                                    : '异常'
+                                  ? '正常'
+                                  : '异常'
                               }}</div>
                             </div>
                             <div class="signal-item" v-if="warningMonitorRowIndex == 1">
@@ -207,8 +207,8 @@
                                 getFanValue(state.dataIndex, 'Fan2') == undefined
                                   ? '无状态'
                                   : getFanValue(state.dataIndex, 'Fan2') == '0'
-                                    ? '正常'
-                                    : '异常'
+                                  ? '正常'
+                                  : '异常'
                               }}</div>
                             </div>
                           </div>
@@ -609,7 +609,7 @@
   import { useCamera } from '/@/hooks/system/useCamera';
   import { CaretRightOutlined } from '@ant-design/icons-vue';
   import ConditionAssistance from './components/conditionAssistance.vue';
-  import DischargeGas from './components/dischargeGas/index.vue';
+  import DischargeGas from './components/dischargeGas.vue';
   import SupplyAir from './components/supplyAir.vue';
   import reportInfo from '../comment/components/reportInfo.vue';
   import { save, reportList } from '../../reportManager/reportManager.api';