From 4473382ddd15af3767edf0b4c8becd8ffbd186f9 Mon Sep 17 00:00:00 2001
From: husq <931347610@qq.com>
Date: Wed, 13 Sep 2023 11:30:32 +0800
Subject: [PATCH] 注释没用到的接口代码、英文修改为中文

---
 src/pages/page-web/projects/wayline.vue |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/pages/page-web/projects/wayline.vue b/src/pages/page-web/projects/wayline.vue
index 0bc9059..6b03b8e 100644
--- a/src/pages/page-web/projects/wayline.vue
+++ b/src/pages/page-web/projects/wayline.vue
@@ -4,7 +4,7 @@
     <div style="height: 50px; line-height: 50px; border-bottom: 1px solid #4f4f4f; font-weight: 450;">
       <a-row>
         <a-col :span="1"></a-col>
-        <a-col :span="15">Flight Route Library</a-col>
+        <a-col :span="15">航线库</a-col>
         <a-col :span="8" v-if="importVisible" class="flex-row flex-justify-end flex-align-center">
           <a-upload
             name="file"
@@ -125,17 +125,17 @@
 onMounted(() => {
   const parent = document.getElementsByClassName('scrollbar').item(0)?.parentNode as HTMLDivElement
   height.value = document.body.clientHeight - parent.firstElementChild!.clientHeight
-  getWaylines()
+  // getWaylines()
 
-  const key = setInterval(() => {
-    const data = document.getElementById('data')?.lastElementChild as HTMLDivElement
-    if (pagination.total === 0 || Math.ceil(pagination.total / pagination.page_size) <= pagination.page || height.value <= data?.clientHeight + data?.offsetTop) {
-      clearInterval(key)
-      return
-    }
-    pagination.page++
-    getWaylines()
-  }, 1000)
+  // const key = setInterval(() => {
+  //   const data = document.getElementById('data')?.lastElementChild as HTMLDivElement
+  //   if (pagination.total === 0 || Math.ceil(pagination.total / pagination.page_size) <= pagination.page || height.value <= data?.clientHeight + data?.offsetTop) {
+  //     clearInterval(key)
+  //     return
+  //   }
+  //   pagination.page++
+  //   getWaylines()
+  // }, 1000)
 })
 
 function getWaylines () {

--
Gitblit v1.9.3