Compare commits
2 Commits
2ab1396e33
...
548930fd3c
Author | SHA1 | Date | |
---|---|---|---|
|
548930fd3c | ||
|
3e44d8fae4 |
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user