<!--
 * @Author: Mm
 * @Date: 2025-02-20 09:55:11
 * @LastEditors: Mm
 * @LastEditTime: 2025-03-13 17:27:24
 * 不写bug的程序员不是一个好程序员!
-->
<script setup lang="ts">
import { onUnmounted } from 'vue';

import { Page } from '@vben/common-ui';

import DictDataPanel from './data/index.vue';
import { emitter } from './mitt';
import DictTypePanel from './type/index.vue';

onUnmounted(() => emitter.off('rowClick'));
</script>

<template>
  <Page
    :auto-content-height="true"
    content-class="flex flex-col lg:flex-row gap-4"
  >
    <DictTypePanel class="flex-1 overflow-hidden" />
    <DictDataPanel class="flex-1 overflow-hidden" />
  </Page>
</template>
