mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
chore: fix unvalid wx:key (#2398)
This commit is contained in:
parent
71b727bd69
commit
d36cbbb752
@ -8,7 +8,7 @@
|
|||||||
<van-collapse
|
<van-collapse
|
||||||
wx:for="{{ list }}"
|
wx:for="{{ list }}"
|
||||||
wx:for-item="group"
|
wx:for-item="group"
|
||||||
wx:key="group.title"
|
wx:key="title"
|
||||||
value="{{ activeNames }}"
|
value="{{ activeNames }}"
|
||||||
border="{{ false }}"
|
border="{{ false }}"
|
||||||
bind:change="onChangeCollapse"
|
bind:change="onChangeCollapse"
|
||||||
@ -29,7 +29,7 @@
|
|||||||
/>
|
/>
|
||||||
<van-cell
|
<van-cell
|
||||||
wx:for="{{ group.list }}"
|
wx:for="{{ group.list }}"
|
||||||
wx:key="item.title"
|
wx:key="title"
|
||||||
is-link
|
is-link
|
||||||
url="/pages{{ item.path }}/index"
|
url="/pages{{ item.path }}/index"
|
||||||
data-url="/pages{{ item.path }}/index"
|
data-url="/pages{{ item.path }}/index"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
<picker-column
|
<picker-column
|
||||||
class="van-picker__column"
|
class="van-picker__column"
|
||||||
wx:for="{{ isSimple(columns) ? [columns] : columns }}"
|
wx:for="{{ isSimple(columns) ? [columns] : columns }}"
|
||||||
wx:key="{{ index }}"
|
wx:key="index"
|
||||||
data-index="{{ index }}"
|
data-index="{{ index }}"
|
||||||
custom-class="column-class"
|
custom-class="column-class"
|
||||||
value-key="{{ valueKey }}"
|
value-key="{{ valueKey }}"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<block wx:if="{{ previewImage }}">
|
<block wx:if="{{ previewImage }}">
|
||||||
<view
|
<view
|
||||||
wx:for="{{ lists }}"
|
wx:for="{{ lists }}"
|
||||||
wx:key="{{ index }}"
|
wx:key="index"
|
||||||
class="van-uploader__preview"
|
class="van-uploader__preview"
|
||||||
>
|
>
|
||||||
<image
|
<image
|
||||||
|
Loading…
x
Reference in New Issue
Block a user