소스 검색

158分站调试

lxh 3 일 전
부모
커밋
f3e5c1c982
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/vent/safetyList/common/detail.vue

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

@@ -367,7 +367,7 @@
 </template>
 
 <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 {
   subStationList,
@@ -967,7 +967,7 @@ async function handleOkDebug() {
     deviceId: debugDeviceId.value,
     speed: startupDataDebug.speed,
     direction: startupDataDebug.direction,
-    pwd:startupDataDebug.pwd,
+    pwd:startupDataDebug.pwd || globalConfig?.simulatedPassword,
     range:startupDataDebug.range,
     debugFlag: '1',
   });