123456789101112131415161718192021222324 |
- <script setup lang="ts">
- defineOptions({
- name: "EvaluationViews",
- 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>
|