From 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期二, 21 四月 2026 11:46:41 +0800
Subject: [PATCH] 推送
---
node_modules/uview-plus/components/u-pagination/u-pagination.vue | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/node_modules/uview-plus/components/u-pagination/u-pagination.vue b/node_modules/uview-plus/components/u-pagination/u-pagination.vue
index b256aa6..3b9f269 100644
--- a/node_modules/uview-plus/components/u-pagination/u-pagination.vue
+++ b/node_modules/uview-plus/components/u-pagination/u-pagination.vue
@@ -1,5 +1,6 @@
<template>
<view class="u-pagination">
+ <view>{{currentPage}}</view>
<!-- 涓婁竴椤垫寜閽� -->
<view
:class="[
@@ -16,8 +17,9 @@
</view>
<!-- 椤电爜鍒楄〃 -->
- <block v-for="page in displayedPages" :key="page" v-if="layout.includes('pager')">
+ <template v-for="(page,index) in displayedPages" :key="index" v-if="layout.includes('pager')">
<view
+ class="u-pagination-item"
:class="[
'u-pagination-item',
{ active: page === currentPage }
@@ -26,7 +28,7 @@
>
{{ page }}
</view>
- </block>
+ </template>
<!-- 鎬绘暟鏄剧ず -->
<view v-if="total > 0 && layout.includes('total')" class="u-pagination-total">
--
Gitblit v1.9.3