修正模块router中没有正确导入vue-router导致页面不能正常加载的问题。

This commit is contained in:
高子兴 2024-06-30 22:56:06 +08:00
parent a37a40d1cd
commit ac7272d59a

View File

@ -3,6 +3,7 @@ import Register from '../views/authentication/Register.vue';
import ManageProfile from '../views/authentication/ManageProfile.vue'; import ManageProfile from '../views/authentication/ManageProfile.vue';
import Profile from '../views/authentication/Profile.vue'; import Profile from '../views/authentication/Profile.vue';
import store from '../store'; import store from '../store';
import {createRouter, createWebHistory} from "vue-router";
const routes = [ const routes = [
{ path: '/login', component: Login }, { path: '/login', component: Login },