Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- >* wxml: 重复渲染该`view组件` -->
- <!-- >``` -->
- ><!--wxml-->
- <view wx:for="{{array}}"> {{item}} </view>
- <!-- >``` -->
- <!-- >* page.js -->
- <!-- >``` -->
- <!-- >// page.js -->
- Page({
- data: {
- array: [1, 2, 3, 4, 5]
- }
- })
- <!-- >``` -->
Add Comment
Please, Sign In to add comment