wip:
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-05-16 16:36:46 +08:00
parent 55de33461b
commit eb4dfc0887
10 changed files with 133 additions and 154 deletions

View File

@@ -1,11 +1,12 @@
<script setup lang="ts">
import { ref } from "vue";
import Taro from "@tarojs/taro";
import MerList from "@/components/MerList.vue";
import {ref, onMounted} from 'vue';
import Taro from '@tarojs/taro';
import MerList from '@/components/MerList.vue';
const classId = ref<null | number>(null);
const classId = ref();
Taro.useLoad((e) => {
onMounted(() => {
const e = Taro.getCurrentInstance().router?.params as any;
Taro.setNavigationBarTitle({
title: e.name,
});
@@ -14,9 +15,7 @@ Taro.useLoad((e) => {
</script>
<template>
<view>
<MerList :classId="classId" />
</view>
<MerList v-model="classId" />
</template>
<style lang="scss"></style>