diff --git a/vue/gold-system/src/router/index.js b/vue/gold-system/src/router/index.js index 89ce114..ee0f365 100644 --- a/vue/gold-system/src/router/index.js +++ b/vue/gold-system/src/router/index.js @@ -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"), diff --git a/vue/gold-system/src/views/login.vue b/vue/gold-system/src/views/login.vue new file mode 100644 index 0000000..ce97256 --- /dev/null +++ b/vue/gold-system/src/views/login.vue @@ -0,0 +1,13 @@ + + +