[fix] Loading: 不应在 wx:key 中使用 {{}} (#1129)

This commit is contained in:
yelo 2018-12-22 07:20:13 +08:00 committed by neverland
parent 648c7728ba
commit 5e07940590

View File

@ -9,7 +9,7 @@
<view
wx:if="{{ type === 'spinner' }}"
wx:for="item in 12"
wx:key="{{ index }}"
wx:key="index"
class="van-loading__dot"
/>
</view>