123456789101112131415161718192021222324252627282930313233343536373839 |
- <template>
- <view>
-
- </view>
- </template>
- <script setup>
- import {
- ref,
- reactive
- } from "vue";
- import {
- onLoad
- } from "@dcloudio/uni-app"
- import * as httpApi from "@/api/common.js"
-
-
- const data = reactive({
- page: 1,
- size: 5,
- total: 0,
- list: []
- })
-
- onLoad(() => {
- pageInit();
- })
-
- function pageInit() {
- httpApi.getCommonZSJYShengxueList({page:data.page,size:data.size}).then(res => {
- data.list = res.data.data;
- data.total = res.data.total;
- })
- }
- </script>
- <style>
- </style>
|