From 3fe51bfca22f3417a11ca34a951298ccb3b4080e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Fri, 29 Jun 2018 16:42:25 +0800 Subject: [PATCH] update Anchor --- examples/main.js | 1 + src/components/anchor/anchor-link.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/main.js b/examples/main.js index 08412084..7f8f88b2 100644 --- a/examples/main.js +++ b/examples/main.js @@ -20,6 +20,7 @@ Vue.config.debug = true; // 路由配置 const router = new VueRouter({ esModule: false, + mode: 'history', routes: [ { path: '/split', diff --git a/src/components/anchor/anchor-link.vue b/src/components/anchor/anchor-link.vue index 88614896..4b480209 100644 --- a/src/components/anchor/anchor-link.vue +++ b/src/components/anchor/anchor-link.vue @@ -1,6 +1,6 @@