mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 19:41:45 +08:00
fix(Skeleton): missing wx:key and page declaration (#2312)
This commit is contained in:
parent
c8d27f5ca7
commit
9ef4cae03f
@ -46,7 +46,8 @@
|
||||
"pages/circle/index",
|
||||
"pages/grid/index",
|
||||
"pages/dropdown-menu/index",
|
||||
"pages/index-bar/index"
|
||||
"pages/index-bar/index",
|
||||
"pages/skeleton/index"
|
||||
],
|
||||
"window": {
|
||||
"navigationBarBackgroundColor": "#f8f8f8",
|
||||
|
@ -17,6 +17,7 @@
|
||||
/>
|
||||
<view
|
||||
wx:for="row"
|
||||
wx:key="index"
|
||||
wx:for-index="index"
|
||||
class="{{ utils.bem('skeleton__row') }}"
|
||||
style="{{ 'width:' + (isArray ? rowWidth[index] : rowWidth) }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user