Browse Source

修改url显示

xiaomin 5 năm trước cách đây
mục cha
commit
f8038039d0
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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',