修改limit为20

This commit is contained in:
田岩
2025-08-28 16:58:23 +08:00
parent dc24a475ba
commit ad2fece331
6 changed files with 7 additions and 7 deletions
@@ -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 = {
+2 -2
View File
@@ -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;
}
+1 -1
View File
@@ -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([]);
+1 -1
View File
@@ -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([])
@@ -29,7 +29,7 @@
</template>
<script setup>
const status = ref('loading') // loadmore - 加载前,loading - 加载中,nomore - 没有数据
const limit = 15
const limit = 20;
const total = ref(-1)
const page = ref(0)
const data_list = reactive([])
@@ -11,7 +11,7 @@
</template>
<script setup>
const status = ref('loading'); // loadmore - 加载前,loading - 加载中,nomore - 没有数据
const limit = 15;
const limit = 20;
const total = ref(-1);
const page = ref(0);
const data_list = reactive([]);