xydtXueyuanxinwenInfo.vue 467 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <view>
  3. </view>
  4. </template>
  5. <script setup>
  6. import {
  7. ref,
  8. reactive
  9. } from "vue";
  10. import {
  11. onLoad
  12. } from "@dcloudio/uni-app"
  13. import * as httpApi from "@/api/common.js"
  14. const data = reactive({
  15. id: null,
  16. info: null
  17. })
  18. onLoad(({
  19. id
  20. }) => {
  21. data.id = id;
  22. pageInit();
  23. })
  24. function pageInit() {
  25. httpApi.getDongtaiYuanxiaoXinwenInfo({
  26. id: data.id
  27. }).then(res => {
  28. data.info = res.data;
  29. })
  30. }
  31. </script>
  32. <style>
  33. </style>