Ver Fonte

暂无数据展示

wyling há 3 anos atrás
pai
commit
3c2788bad2
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      src/views/myBranch/index.vue

+ 2 - 1
src/views/myBranch/index.vue

@@ -19,7 +19,7 @@
         v-model="searchValue"
       />
       <div class="test-scores content-box">
-        <table class="table">
+        <table class="table" v-if="item.userList.length > 0">
           <tr>
             <th>头像</th>
             <th>昵称</th>
@@ -43,6 +43,7 @@
             <td>{{ userInfo.createTime }}</td>
           </tr>
         </table>
+        <div v-else style="text-align: center">暂无数据</div>
       </div></van-tab
     >
   </van-tabs>