mirror of
https://github.com/eugene-serb/wavelovers.git
synced 2023-09-09 23:41:16 +03:00
- modified QueryRouter.
- modified MetaTagUpdated. - updated version.
This commit is contained in:
parent
80c110a7ad
commit
3a7be242ca
@ -2,7 +2,7 @@
|
||||
"name": "wavelovers",
|
||||
"description": "Wavelovers. Use your device vibration correctly. Make a massager out of a gamepad.",
|
||||
"keywords": [ "wavelovers", "gamepad-vibrator", "gamepad-test-tool", "gamepad-vibration-test-tool" ],
|
||||
"version": "1.0.11",
|
||||
"version": "1.0.12",
|
||||
"license": "GNU GPL v3",
|
||||
"homepage": "https://wavelovers.ru/",
|
||||
"author": {
|
||||
|
@ -1,4 +1,6 @@
|
||||
import { NavigationGuardNext, RouteLocationNormalized, RouteRecordNormalized } from "vue-router";
|
||||
import {
|
||||
NavigationGuardNext, RouteLocationNormalized, RouteRecordNormalized
|
||||
} from "vue-router";
|
||||
|
||||
function appendTags(tagsArray: object[], type: string) {
|
||||
tagsArray.map((meta: object) => {
|
||||
|
@ -8,9 +8,9 @@ function updateRoute(
|
||||
from: RouteLocationNormalized,
|
||||
next: NavigationGuardNext,
|
||||
router: Router,
|
||||
queryRoutes: Array<IQueryRoute>
|
||||
routes: Array<IQueryRoute>
|
||||
): void {
|
||||
queryRoutes.forEach((route) => {
|
||||
routes.forEach((route) => {
|
||||
if (route.query === to.fullPath) {
|
||||
router.push(route.path);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user