Browse Source

158分站调试

lxh 4 days ago
parent
commit
f3e5c1c982
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/vent/safetyList/common/detail.vue

+ 2 - 2
src/views/vent/safetyList/common/detail.vue

@@ -367,7 +367,7 @@
 </template>
 </template>
 
 
 <script setup lang="ts">
 <script setup lang="ts">
-import { ref, nextTick, reactive, onMounted, onUnmounted } from 'vue';
+import { ref, nextTick, reactive, onMounted, onUnmounted,inject } from 'vue';
 import { usePermission } from '/@/hooks/web/usePermission';
 import { usePermission } from '/@/hooks/web/usePermission';
 import {
 import {
   subStationList,
   subStationList,
@@ -967,7 +967,7 @@ async function handleOkDebug() {
     deviceId: debugDeviceId.value,
     deviceId: debugDeviceId.value,
     speed: startupDataDebug.speed,
     speed: startupDataDebug.speed,
     direction: startupDataDebug.direction,
     direction: startupDataDebug.direction,
-    pwd:startupDataDebug.pwd,
+    pwd:startupDataDebug.pwd || globalConfig?.simulatedPassword,
     range:startupDataDebug.range,
     range:startupDataDebug.range,
     debugFlag: '1',
     debugFlag: '1',
   });
   });