<script setup lang="ts">
import {ref, onMounted} from 'vue';
import Taro from '@tarojs/taro';
import MerList from '@/components/MerList.vue';

const classId = ref();

onMounted(() => {
  const e = Taro.getCurrentInstance().router?.params as any;
  Taro.setNavigationBarTitle({
    title: e.name,
  });
  classId.value = Number(e.id);
});
</script>

<template>
  <MerList v-model="classId" />
</template>

<style lang="scss"></style>
