Browse Source

修改url显示

xiaomin 5 years ago
parent
commit
f8038039d0
1 changed files with 2 additions and 0 deletions
  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',