xygkXueyuanjianjie.vue 439 B

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