Explorar el Código

修改url显示

xiaomin hace 5 años
padre
commit
f8038039d0
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/router/index.js

+ 2 - 0
src/router/index.js

@@ -20,6 +20,8 @@ import { Message } from 'element-ui';
 Vue.use(Router);
 
 const router = new Router({
+  base: '/jkcredit/',
+  mode: 'history',
   routes: [
     {name: 'Login', path: '/login', component: Login},
     {name: 'Home',