<script setup lang="ts">
defineOptions({
  name: "TeacherManage",
  inheritAttrs: false,
});
import { watch } from "vue";
import { useUserStore } from "@/store/modules/user";
const userStore = useUserStore();
watch(
  () => userStore.schoolId,
  (newValue, oldValue) => {
    console.log(newValue, oldValue);
  }
);
</script>

<template>
  <div class="container">
    <h1>教师管理</h1>
    <div>{{ userStore.schoolId }}</div>
  </div>
</template>

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