From 7eb2563a9b7c1e444e38f442da0b80e97314131d Mon Sep 17 00:00:00 2001
From: ULIVZ <472590061@qq.com>
Date: Sun, 15 Apr 2018 02:44:08 +0800
Subject: [PATCH] address comments
---
lib/default-theme/NavLink.vue | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
diff --git a/lib/default-theme/NavLink.vue b/lib/default-theme/NavLink.vue
index 2b03b3d4f7..ba965f9b9a 100644
--- a/lib/default-theme/NavLink.vue
+++ b/lib/default-theme/NavLink.vue
@@ -2,16 +2,14 @@
- {{ item.text }}
-
+ v-if="!isExternal(item.link)"
+ >{{ item.text }}
- {{ item.text }}
-
+ class="router-link"
+ >{{ item.text }}