From 33961abd86c66068eeb5e38cfa6be3442f0b0956 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Wed, 28 Oct 2020 21:06:07 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=B1=D0=B0=D0=B3=20=D1=80=D0=B5=D0=B4=D0=B8?= =?UTF-8?q?=D1=80=D0=B5=D0=BA=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/components/App.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/components/App.vue b/client/components/App.vue index fe3cf3e8..ac72f33e 100644 --- a/client/components/App.vue +++ b/client/components/App.vue @@ -199,6 +199,8 @@ class App extends Vue { const q = utils.parseQuery(search); if (q.p && `/${q.p}` != this.rootRoute) { this.$router.replace('/404'); + //чтобы ниоткуда нельзя было изменить путь (если какие-то страницы еще грузятся) + this.$router.push = this.$router.replace = null; } //распознавание параметра url вида "?url=" и редирект при необходимости