Commit 075028ec authored by huangjie's avatar huangjie

no message

parent f0f210ef
<template> <template>
88888 <div class="main">
<div class="video">
<video autoplay loop>
<source src="@/assets/background.mp4" type="video/mp4">
</video>
</div>
</div>
</template> </template>
<script> <script>
......
...@@ -11,9 +11,14 @@ const router = new VueRouter({ ...@@ -11,9 +11,14 @@ const router = new VueRouter({
mode: 'history', mode: 'history',
base: process.env.BASE_URL, base: process.env.BASE_URL,
routes:[ routes:[
{
path:'/',
redirect: '/login',
},
{ {
path:'/login', path:'/login',
name:'登录', // redirect: '/login',
name:'login',
component: () => import('@/login'), component: () => import('@/login'),
}, },
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment