bill 1 year ago
parent
commit
c0fa37c10a
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/layout/show/index.vue

+ 3 - 2
src/layout/show/index.vue

@@ -1,7 +1,8 @@
 <template>
   <template v-if="loaded">
-    <div :class="{ hideLeft: !custom.showLeftPano }">
+    <div :class="{ hideLeft: !custom.showLeftPano }" :style="params.share ? {'--left-pano-left': '0px'} : ''">
       <SlideMenu 
+        v-if="!params.share"
         :activeName="(router.currentRoute.value.name as RoutesName)" 
         @change-item="item => router.push({ name: item.name })"
       />
@@ -17,7 +18,7 @@
 </template>
 
 <script lang="ts" setup>
-import { custom } from '@/env'
+import { custom, params } from '@/env'
 import { ref } from 'vue'
 import { router, RoutesName } from '@/router'
 import { loadModel, fuseModel } from '@/model'