guhongwei 4 years ago
parent
commit
1e485ffec7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/router/index.js

+ 2 - 2
src/router/index.js

@@ -14,9 +14,9 @@ const routes = [
 ];
 
 const router = new VueRouter({
-  // mode: 'history',
+  mode: 'history',
   base: process.env.NODE_ENV === 'development' ? '' : 'trainnotice',
-  // routes,
+  routes,
 });
 
 // router.beforeEach((to, form, next) => {