|
@@ -11,7 +11,7 @@
|
|
|
<div class="left-pano strengthen-right">
|
|
|
<slot></slot>
|
|
|
</div>
|
|
|
- <floorTab />
|
|
|
+ <floorTab v-if="isShow" />
|
|
|
<ModeTab />
|
|
|
</div>
|
|
|
</template>
|
|
@@ -21,7 +21,11 @@ import { custom } from "@/env";
|
|
|
import ModeTab from "./model-list/mode-tab.vue";
|
|
|
import floorTab from "./model-list/floor-tab.vue";
|
|
|
import { useRoute } from 'vue-router';
|
|
|
+import { computed, withDefaults, defineProps } from "vue";
|
|
|
const route = useRoute();
|
|
|
+const isShow = computed(() => {
|
|
|
+ return ['/show/summary', '/fuseEdit/path','/fuseEdit/animation'].includes(route.path);
|
|
|
+});
|
|
|
console.log(route, 777777)
|
|
|
withDefaults(defineProps<{ show?: boolean }>(), { show: false });
|
|
|
</script>
|