detail.vue 417 B

1234567891011121314151617
  1. <template>
  2. <cwg-page-wrapper>
  3. <ApplyRecord :id="id" :type="type" />
  4. </cwg-page-wrapper>
  5. </template>
  6. <script setup lang="ts">
  7. import { ref, onMounted, watch, computed } from "vue";
  8. import ApplyRecord from "./components/ApplyRecord.vue";
  9. import { onLoad } from '@dcloudio/uni-app'
  10. const id = ref("");
  11. const type = ref("");
  12. onLoad((options) => {
  13. id.value = options.id
  14. type.value = options.type
  15. })
  16. </script>