Selaa lähdekoodia

改变路由模式

zhaoxiaohai 3 vuotta sitten
vanhempi
commit
e69f17b3b5
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/router/index.js

+ 1 - 1
src/router/index.js

@@ -63,7 +63,7 @@ let routes = [
 routes[2].children = [...routes[2].children,...HManagement,...SManagement]
 
 const router = new VueRouter({
-  mode: 'history',
+  // mode: 'hhistory',
   base: process.env.BASE_URL,
   routes,
 });