Ver Fonte

fix bug

scorpio há 2 anos atrás
pai
commit
02a351e9b5
1 ficheiros alterados com 4 adições e 10 exclusões
  1. 4 10
      src/App.vue

+ 4 - 10
src/App.vue

@@ -4,16 +4,10 @@
       <top :show-menu="false" />
     </el-header>
     <el-main class="single">
-      <div
-        class="wrapper mt-20"
-        v-if="
-          ($route.meta.layout === 'empty' &&
-            $route.name !== 'login' &&
-            $route.meta.show === true) ||
-          this.$route.meta.show === undefined
-        "
-      >
-        <tips />
+      <div v-if="$route.meta.layout === 'empty' && $route.name !== 'login'">
+        <div class="wrapper mt-20" v-if="this.$route.meta.show === undefined">
+          <tips />
+        </div>
       </div>
       <router-view v-slot="{ Component, route }">
         <keep-alive :include="keepAlive.list">