mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 21:38:13 +00:00
Przekierowanie do aktywnego RJ
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { defineComponent } from "vue";
|
||||
|
||||
export default defineComponent({
|
||||
methods: {
|
||||
navigateToTrain(trainNo: number, driverName: string) {
|
||||
this.$router.push({
|
||||
name: 'TrainsView',
|
||||
query: { trainNo, driverName },
|
||||
});
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user