info_detail.vue 511 B

1234567891011121314151617181920212223242526272829
  1. <template>
  2. <div>{{data.title}}</div>
  3. <div v-html="data.content"></div>
  4. </template>
  5. <script setup>
  6. import {mycosdetail} from '@/api/xjc-integratedmachine/environment/tscareer.js'
  7. const router = useRouter()
  8. const route = useRoute()
  9. const param = route.query
  10. const data = ref({})
  11. function detail() {
  12. mycosdetail({
  13. id: param.id
  14. }).then(resp => {
  15. data.value = resp.entity
  16. })
  17. }
  18. detail()
  19. </script>
  20. <style scoped>
  21. </style>