From e388e2a1c77164f3a51b888dc613cb8e01a55229 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Tue, 4 Feb 2020 16:16:31 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=B8=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/components/CardIndex/CardIndex.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/components/CardIndex/CardIndex.vue b/client/components/CardIndex/CardIndex.vue index f471e349..264c1c7d 100644 --- a/client/components/CardIndex/CardIndex.vue +++ b/client/components/CardIndex/CardIndex.vue @@ -12,7 +12,7 @@ import Vue from 'vue'; import Component from 'vue-class-component'; import _ from 'lodash'; -const rootRoute = '/cardindex'; +const selfRoute = '/cardindex'; const tab2Route = [ '/cardindex/search', '/cardindex/card', @@ -45,7 +45,7 @@ class CardIndex extends Vue { if (t !== this.selectedTab) this.selectedTab = t.toString(); } else { - if (route == rootRoute && lastActiveTab !== null) + if (route == selfRoute && lastActiveTab !== null) this.setRouteByTab(lastActiveTab); } }