关闭列车连接调整

This commit is contained in:
joylink_fanyuhong 2024-04-03 10:13:53 +08:00
parent 3d3d614f3c
commit 3e44d8fae4
2 changed files with 6 additions and 2 deletions

View File

@ -38,10 +38,11 @@
<script setup lang="ts">
import { QForm } from 'quasar';
import { onMounted, ref } from 'vue';
import { onMounted, ref, onUnmounted } from 'vue';
import DraggableDialog from 'src/components/common/DraggableDialog.vue';
import { getCanLinkPlatForm, updateTrainConn } from 'src/api/Simulation';
import { successNotify, errorNotify } from 'src/utils/CommonNotify';
import { useLineStore } from 'src/stores/line-store';
const props = defineProps({
simulationId: {
type: String,
@ -93,5 +94,8 @@ function onCreate() {
});
});
}
onUnmounted(() => {
useLineStore().deviceOpreratDialogInstance = null;
});
</script>
<style scoped></style>

View File

@ -9,7 +9,7 @@ function getHost(): string {
// return '192.168.3.7:9091';
// return '192.168.3.47:9091';
// return '192.168.3.37:9091';
return '192.168.33.207:9091'; // 张骞
// return '192.168.33.207:9091'; // 张骞
// return '192.168.33.93:9091';
// return '192.168.3.37:9091'; //卫志宏
// return 'test.joylink.club/bjrtsts-service'; // 测试