sunlupeng 1 year ago
parent
commit
95a518a4be
1 changed files with 3 additions and 4 deletions
  1. 3 4
      src/App.vue

+ 3 - 4
src/App.vue

@@ -2,10 +2,9 @@
   <div id="app">
     <div class="view-container">
       <AppHeader :visible="visible"></AppHeader>
-      <router-view />
-      <!-- <transition :name="transitionName">
+      <transition :name="transitionName">
         <router-view />
-      </transition> -->
+      </transition>
       <AppBackTop></AppBackTop>
     </div>
   </div>
@@ -85,7 +84,7 @@ export default {
 .slide-left-enter-active,
 .slide-left-leave-active {
   will-change: transform;
-  transition: all 250ms;
+  transition: all 80ms;
   position: fixed;
 }