Kaynağa Gözat

Web/src/components/table/index.vue bug修复
Web/src/components/table/index.vue文件的Pagination v-if 条件增加 && 连接符,使该组件可以正常使用、正常打包。

Signed-off-by: xuyeyu <xuyeyu@aliyun.com>

xuyeyu 2 yıl önce
ebeveyn
işleme
caf9614450
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      Web/src/components/table/index.vue

+ 1 - 1
Web/src/components/table/index.vue

@@ -72,7 +72,7 @@
 				<el-empty description="暂无数据" />
 			</template>
 		</el-table>
-		<div v-if="!config.hidePagination state.showPagination" class="table-footer mt15">
+		<div v-if="!config.hidePagination && state.showPagination" class="table-footer mt15">
 			<el-pagination v-model:current-page="state.page.page" v-model:page-size="state.page.pageSize" small
 				:pager-count="5" :page-sizes="[10, 30, 50, 100]" :total="state.total"
 				layout="total, sizes, prev, pager, next, jumper" background @size-change="onHandleSizeChange"