|
|
@ -3,6 +3,7 @@ import { createRouter,createWebHashHistory } from 'vue-router'; |
|
|
|
const router=createRouter({ |
|
|
|
history:createWebHashHistory(), |
|
|
|
routes:[ |
|
|
|
{path:'/login',component:()=>import("../views/login.vue")}, |
|
|
|
{path:'/',redirect:"/workspace"}, |
|
|
|
{ |
|
|
|
path:'/index',component:()=>import("../views/index.vue"), |
|
|
|