瀏覽代碼

Update index.tsx

lex 2 年之前
父節點
當前提交
814d86c4ee
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      src/teacher/attendance/index.tsx

+ 1 - 3
src/teacher/attendance/index.tsx

@@ -78,9 +78,7 @@ export default defineComponent({
         }
 
         forms.page = res.data.current + 1
-        for (let i = 0; i < 10; i++) {
-          list.value = list.value.concat(res.data.rows || [])
-        }
+        list.value = list.value.concat(res.data.rows || [])
 
         showContact.value = list.value.length > 0
         loading.value = false