|
@@ -17,11 +17,19 @@ export default {
|
|
|
},
|
|
|
navigateToSchool() {
|
|
|
const path = this.$route.path.replace('private', 'school');
|
|
|
- this.$router.push(path);
|
|
|
+ const query = this.$route.query;
|
|
|
+ this.$router.push({
|
|
|
+ path,
|
|
|
+ query
|
|
|
+ });
|
|
|
},
|
|
|
navigateToPrivate() {
|
|
|
const path = this.$route.path.replace('school', 'private');
|
|
|
- this.$router.push(path);
|
|
|
+ const query = this.$route.query;
|
|
|
+ this.$router.push({
|
|
|
+ path,
|
|
|
+ query
|
|
|
+ });
|
|
|
}
|
|
|
},
|
|
|
}
|