Commit a352e683 by liimin

fix(ImageUploadBox): 将硬编码图片数量限制改为动态变量

将wx:if条件中的固定值5改为imagesMax变量,使图片上传数量限制可配置
1 parent bf480082
......@@ -24,7 +24,7 @@
</view>
</view>
</block>
<view wx:if="{{imgUrls.length<5}}" class="item placeholder">
<view wx:if="{{imgUrls.length<imagesMax}}" class="item placeholder">
</view>
<!-- </block> -->
</view>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!