exam-history.vue 550 B

12345678910111213141516
  1. <template>
  2. <view class="flex-1 min-h-1 relative bg-back">
  3. <view class="absolute inset-0">
  4. <ie-exam-history v-if="getLocation === '湖南'" />
  5. <vhs-exam-history v-if="getLocation === '河南'" />
  6. </view>
  7. </view>
  8. </template>
  9. <script lang="ts" setup>
  10. import IeExamHistory from './ie-exam-history.vue'
  11. import VhsExamHistory from './vhs-exam-history.vue'
  12. import { useUserStore } from '@/store/userStore';
  13. const userStore = useUserStore();
  14. const { getLocation } = storeToRefs(userStore);
  15. </script>
  16. <style lang="scss" scoped></style>