From 9bce51f651aad297ef9eb6df832bfdaf1de05d84 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 14:27:54 +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