Quellcode durchsuchen

修复履职列表数据显示错误问题

凉纪 vor 2 Jahren
Ursprung
Commit
816081307d
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      src/views/menu/resumption/list.vue

+ 3 - 3
src/views/menu/resumption/list.vue

@@ -67,7 +67,7 @@
         <div class="list-item">
           <p>周期履职</p>
           <van-tabs >
-            <van-tab title="待完成" :badge="dayList.unfinished.length">
+            <van-tab title="待完成" :badge="otherList.unfinished.length">
               <Empty v-if="!otherList.unfinished.length"/>
               <div class="list-container" v-else>
                   <van-cell
@@ -86,7 +86,7 @@
                   </van-cell>
               </div>
             </van-tab>
-            <van-tab title="未完成" :badge="dayList.proceed.length">
+            <van-tab title="未完成" :badge="otherList.proceed.length">
               <Empty v-if="!otherList.proceed.length"/>
               <div class="list-container" v-else>
                   <van-cell
@@ -103,7 +103,7 @@
                   </van-cell>
               </div>
             </van-tab>
-            <van-tab title="已完成" :badge="dayList.finished.length">
+            <van-tab title="已完成" :badge="otherList.finished.length">
               <Empty v-if="!otherList.finished.length"/>
               <div class="list-container" v-else>
                   <van-cell