Browse Source

修改--测试记录分页

plg 6 months ago
parent
commit
1bd8b35789
1 changed files with 2 additions and 4 deletions
  1. 2 4
      src/views/TestRecord.vue

+ 2 - 4
src/views/TestRecord.vue

@@ -35,9 +35,9 @@ const getData = async () => {
     if (totol.value == list.value.length) {
     if (totol.value == list.value.length) {
         //显示noMore
         //显示noMore
         if (totol.value == 0) {
         if (totol.value == 0) {
-            noMore.value = true;
-        } else {
             noMore.value = false;
             noMore.value = false;
+        } else {
+            noMore.value = true;
         }
         }
 
 
         return
         return
@@ -331,8 +331,6 @@ onUnmounted(() => {
 
 
 }
 }
 
 
-
-
 .home_mid {
 .home_mid {
     // background-color: blanchedalmond;
     // background-color: blanchedalmond;
     width: 1200px;
     width: 1200px;