diff --git a/src/vite-frontend/src/components/TheHeader.vue b/src/vite-frontend/src/components/TheHeader.vue
index 4c1d306..8c8c1a1 100644
--- a/src/vite-frontend/src/components/TheHeader.vue
+++ b/src/vite-frontend/src/components/TheHeader.vue
@@ -20,7 +20,7 @@
Home
- New Article
+ New Article
Settings
@@ -46,14 +46,9 @@ export default {
name: "TheHeader",
setup(){
const store = useStore();
-
- const token = ref("");
- const username = ref("");
-
const isLogin = ref(false);
onMounted(()=> {
- console.log("mounted!", isLogin.value);
if(store.state.token == ""){
isLogin.value = false;
}else{
diff --git a/src/vite-frontend/src/router/index.ts b/src/vite-frontend/src/router/index.ts
index 829e75a..3e5f0cd 100644
--- a/src/vite-frontend/src/router/index.ts
+++ b/src/vite-frontend/src/router/index.ts
@@ -23,8 +23,8 @@ const routes = [
component: () => import(/* webpackChunkName "inputTag" */ '@/views/TheRegister.vue')
},
{
- path: "/article",
- name: "Article",
+ path: "/editor/",
+ name: "ArticleEditor",
component: () => import(/* webpackChunkName "inputTag" */ '@/views/TheArticle.vue')
},
{
diff --git a/src/vite-frontend/src/views/TheArticle.vue b/src/vite-frontend/src/views/TheArticle.vue
index c9aec7b..3b97751 100644
--- a/src/vite-frontend/src/views/TheArticle.vue
+++ b/src/vite-frontend/src/views/TheArticle.vue
@@ -8,20 +8,20 @@