From f38ff6740013ecd6aa4b5b6a2ca6b9c4b9882ce8 Mon Sep 17 00:00:00 2001 From: Xubx <1827135378@qq.com> Date: Fri, 1 Nov 2024 16:34:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=B8=AA=E4=BA=BA=E4=B8=BB?= =?UTF-8?q?=E9=A1=B5=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 2 +- src/router/index.js | 8 ++ src/views/PersonalHomepage.vue | 224 +++++++++++++++++++++++++++++++++ 3 files changed, 233 insertions(+), 1 deletion(-) create mode 100644 src/views/PersonalHomepage.vue diff --git a/src/main.js b/src/main.js index 471c03f..3283ec9 100644 --- a/src/main.js +++ b/src/main.js @@ -20,7 +20,7 @@ import mavonEditor from 'mavon-editor' import "mavon-editor/dist/css/index.css" Vue.use(mavonEditor) -axios.defaults.baseURL = "http://62.234.217.137:8088" +axios.defaults.baseURL = "http://127.0.0.1:8088" // 添加请求拦截器 axios.interceptors.request.use(function (config) { diff --git a/src/router/index.js b/src/router/index.js index bb73cb5..0fcd597 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -81,6 +81,14 @@ const routes = [ title: 'Xubx的博客' } }, + { + path: '/personalHomapage', + name: 'PersonalHomePage', + component: () => import('../views/PersonalHomepage.vue'), + meta: { + title: '个人主页' + } + } ] const router = new VueRouter({ diff --git a/src/views/PersonalHomepage.vue b/src/views/PersonalHomepage.vue new file mode 100644 index 0000000..673956f --- /dev/null +++ b/src/views/PersonalHomepage.vue @@ -0,0 +1,224 @@ + + + + + + \ No newline at end of file