diff --git a/src/pages/courseDetail/components/comment.vue b/src/pages/courseDetail/components/comment.vue index 856c052f..5337be2f 100644 --- a/src/pages/courseDetail/components/comment.vue +++ b/src/pages/courseDetail/components/comment.vue @@ -115,7 +115,7 @@ const placeholder = ref(''); const message_list = reactive([]); const status = ref(''); // loadmore - 加载前,loading - 加载中,nomore - 没有数据 - const limit = 15; + const limit = 20; const total = ref(-1); const page = ref(0); const reply_data_init = { diff --git a/src/pages/messageNotification/index.vue b/src/pages/messageNotification/index.vue index de2f3103..68d17a31 100644 --- a/src/pages/messageNotification/index.vue +++ b/src/pages/messageNotification/index.vue @@ -111,7 +111,7 @@ }; const status = ref('loadmore'); // loadmore - 加载前,loading - 加载中,nomore - 没有数据 - const limit = 15; + const limit = 20; const total = ref(-1); const page = ref(0); const data_list = reactive([]); @@ -147,7 +147,7 @@ }; const getData = (from = '') => { - if (from == 'first') { + if (from === 'first') { if (total.value !== -1) { return; } diff --git a/src/pages/testingHall/components/content.vue b/src/pages/testingHall/components/content.vue index 6753dd4e..939e6ce0 100644 --- a/src/pages/testingHall/components/content.vue +++ b/src/pages/testingHall/components/content.vue @@ -22,7 +22,7 @@ import { queryTraCrsBbsInfoByCrsId } from '@/api/courseDetail.js'; import itemVue from './content-item.vue'; const status = ref('loadmore'); // loadmore - 加载前,loading - 加载中,nomore - 没有数据 - const limit = 15; + const limit = 20; const total = ref(-1); const page = ref(0); const data_list = reactive([]); diff --git a/src/pages/testingHall/index.vue b/src/pages/testingHall/index.vue index 23233b85..db190914 100644 --- a/src/pages/testingHall/index.vue +++ b/src/pages/testingHall/index.vue @@ -66,7 +66,7 @@ const contentRefs = ref([]) const status = ref('loadmore') // loadmore - 加载前,loading - 加载中,nomore - 没有数据 - const limit = 15 + const limit = 20; const total = ref(-1) const page = ref(0) const data_list = reactive([]) diff --git a/src/pages/wrongQuestionRecord/components/correct.vue b/src/pages/wrongQuestionRecord/components/correct.vue index d357f44f..9ae4005c 100644 --- a/src/pages/wrongQuestionRecord/components/correct.vue +++ b/src/pages/wrongQuestionRecord/components/correct.vue @@ -29,7 +29,7 @@