Merge remote-tracking branch 'origin/develop' into local-test
Some checks are pending
CI / Docker-Build (push) Waiting to run

This commit is contained in:
joylink_fanyuhong 2024-04-03 10:16:43 +08:00
commit 64822d1ab0

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>