From 67c758efbce35a2e95cca75ca1cb0b21d84b1947 Mon Sep 17 00:00:00 2001 From: Darren Poon Date: Mon, 16 Apr 2018 02:28:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20home=20link=20'/'=20shouldn=E2=80=99t=20?= =?UTF-8?q?always=20stays=20active=20(#47)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/default-theme/NavLinks.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/default-theme/NavLinks.vue b/lib/default-theme/NavLinks.vue index e4ee1d8683..c4b7500a65 100644 --- a/lib/default-theme/NavLinks.vue +++ b/lib/default-theme/NavLinks.vue @@ -3,7 +3,8 @@ + :key="item.link" + :exact="item.link === '/'"> {{ item.text }}