浏览代码

没有数据时也显示分页

zhulu 2 年之前
父节点
当前提交
60fe25ccfd
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/views/system/user/index.vue

+ 1 - 2
src/views/system/user/index.vue

@@ -363,8 +363,7 @@
               </template>
             </el-table-column>
           </el-table>
-          <pagination
-            v-show="total > 0"
+          <pagination            
             :total="total"
             :page.sync="queryParams.pageNum"
             :limit.sync="queryParams.pageSize"