<script lang="ts" setup>
import { ref } from 'vue';
import MyTreeSelect from './MyTreeSelect.vue';

// https://github.com/micro-zoe/micro-app/issues/659

// 📝 是否被 基座 且 永策基座 嵌入

// @ts-ignore
const win = window.rawWindow;
// @ts-ignore
const visible = ref(win && win.__base_type__ === 'yc');
</script>

<template>
  <my-tree-select v-if="visible"></my-tree-select>
</template>
