qinzhipeng_v 5 years ago
parent
commit
03f67438b0
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/layout/components/AppMain.vue
  2. 1 1
      src/layout/index.vue

+ 2 - 2
src/layout/components/AppMain.vue

@@ -1,8 +1,8 @@
 <template>
-  <section id="app-main" class="app-main">
+  <section class="app-main">
     <transition name="fade-transform" mode="out-in">
       <keep-alive include="DefectManage">
-        <router-view id="dstk" />
+        <router-view />
       </keep-alive>
     </transition>
   </section>

+ 1 - 1
src/layout/index.vue

@@ -6,7 +6,7 @@
       <div :class="{'fixed-header':fixedHeader}">
         <navbar />
       </div>
-      <app-main id="content1" />
+      <app-main />
     </div>
   </div>
 </template>