|
@@ -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'
|