wujingjing
2025-04-02 6ca24301fd3edf76359240ae5272e75b7a4db77f
src/layout/component/main.vue
@@ -10,7 +10,7 @@
         view-class="layout-main-scroll bg-[var(--color-bg-side)]  flex h100 w-full"
      >
         <WorkSpaceMenu v-show="isWorkSpace" />
         <div v-show="isAskAnswer">
         <div v-show="isAskAnswer || isHome">
            <SideBar v-if="!isSharePage && sidebarIsShow" :isShow="sidebarIsShow" @toggleSidebar="toggleSidebar" />
            <SidebarOther v-if="!isSharePage && !sidebarIsShow" :isShow="!sidebarIsShow" @toggleSidebar="toggleSidebar" />
         </div>
@@ -63,6 +63,9 @@
const isAskAnswer = computed(() => {
   return router.currentRoute.value.path.startsWith('/ask_answer');
});
const isHome = computed(() => {
   return router.currentRoute.value.path.startsWith('/home');
});
const isGis = computed(() => {
   return router.currentRoute.value.path.startsWith('/gis');
});