Parcourir la source

lhj0618返回修改

liuhj il y a 1 an
Parent
commit
023cb1c791
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      src/router/index.js

+ 4 - 4
src/router/index.js

@@ -113,10 +113,10 @@ import Supplierinfo from '@/components/ConferenceModule/Supplierinfo';
 Vue.use(Router)
 
 export default new Router({
-    mode: 'history',
-    scrollBehavior: () => {
-      history.pushState(null, null, document.URL)
-    },
+    // mode: 'history',
+    // scrollBehavior: () => {
+    //   history.pushState(null, null, document.URL)
+    // },
   routes: [
     {
       path: '/',