We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1969510 commit 4844ac9Copy full SHA for 4844ac9
src/page/index.wxml
@@ -6,7 +6,7 @@
6
<view class="i-page-number-current">{{ current }}</view>/{{total}}
7
</view>
8
<view class="i-page-pointer" wx:if="{{ mode === 'pointer' }}">
9
- <view class="i-page-pointer-dot {{ (index + 1) === current ? 'current' : '' }}" wx:for="{{ total }}"></view>
+ <view class="i-page-pointer-dot {{ (index + 1) === current ? 'current' : '' }}" wx:for="{{ total }}" wx:key="index"></view>
10
11
<view class="i-page-next" wx:if="{{ mode === 'button' }}">
12
<i-button i-class="i-page-button" type="ghost" bindclick="handleNext" disabled="{{ current === total }}"><slot name="next"></slot></i-button>
0 commit comments