Files
jdt-user/src/pages/search/index.vue
Huakk eb4dfc0887
All checks were successful
continuous-integration/drone/push Build is passing
wip:
2024-05-16 16:36:46 +08:00

22 lines
433 B
Vue

<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>