|
@@ -1,8 +1,8 @@
|
|
<template>
|
|
<template>
|
|
<template v-if="loaded">
|
|
<template v-if="loaded">
|
|
- <div :class="{ hideLeft: !custom.showLeftPano }" :style="params.share ? {'--left-pano-left': '0px'} : ''">
|
|
|
|
|
|
+ <div :class="{ hideLeft: !custom.showLeftPano }" :style="hasShare ? {'--left-pano-left': '0px'} : ''">
|
|
<SlideMenu
|
|
<SlideMenu
|
|
- v-if="!params.share"
|
|
|
|
|
|
+ v-if="!hasShare"
|
|
:activeName="(router.currentRoute.value.name as RoutesName)"
|
|
:activeName="(router.currentRoute.value.name as RoutesName)"
|
|
@change-item="item => router.push({ name: item.name })"
|
|
@change-item="item => router.push({ name: item.name })"
|
|
/>
|
|
/>
|
|
@@ -37,6 +37,7 @@ import {
|
|
initialGuides
|
|
initialGuides
|
|
} from '@/store'
|
|
} from '@/store'
|
|
|
|
|
|
|
|
+const hasShare = new URLSearchParams(location.search).has("share")
|
|
|
|
|
|
const loaded = ref(false)
|
|
const loaded = ref(false)
|
|
const initialSys = async () => {
|
|
const initialSys = async () => {
|