yanghao пре 2 дана
родитељ
комит
e0eb3644ec
1 измењених фајлова са 6 додато и 4 уклоњено
  1. 6 4
      src/views/flow/todoListMobile.vue

+ 6 - 4
src/views/flow/todoListMobile.vue

@@ -35,7 +35,7 @@
           共 {{ pagination.total }} 条待办
         </div>
 
-        <div class="task-scroll-list">
+        <div class="task-scroll-list" infinite-wrapper>
           <div
             v-for="(item, index) in oaTasks"
             :key="item.requestId || `${item.requestName}-${index}`"
@@ -145,6 +145,7 @@
           <InfiniteLoading
             :identifier="infiniteId"
             spinner="spiral"
+            :force-use-infinite-wrapper="true"
             @infinite="loadMore"
           >
             <template #no-more>
@@ -422,9 +423,10 @@ onMounted(() => {
 
 .task-scroll-list {
   padding-right: 4px;
-  background-color: transparent;
-  height: calc(100vh - 100px);
-  /* overflow-y: auto; */
+  background: var(--bg-table);
+  height: calc(100vh - 180px);
+  overflow-y: auto;
+  border-radius: 12px;
 }
 
 .task-card {