diff --git a/src/router/index.js b/src/router/index.js
index 6d3fa39..92b4438 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -5,6 +5,11 @@ import Home from "../views/Home/index.vue";
Vue.use(VueRouter);
+const originalPush = VueRouter.prototype.push;
+VueRouter.prototype.push = function push(location) {
+ return originalPush.call(this, location).catch(err => err);
+};
+
const routes = [
{
path: "/",
diff --git a/src/views/About.vue b/src/views/About.vue
index c1ecc5e..6974a15 100644
--- a/src/views/About.vue
+++ b/src/views/About.vue
@@ -14,7 +14,14 @@
许经理
13910989830
henry@joylink.club
@@ -8,7 +8,7 @@