@@ -128,9 +128,9 @@ Page({
icon: 'none',
duration: 2000
})
- } else if (this.data.evaluation.length < 20) {
+ } else if (this.data.evaluation.length < 10) {
wx.showToast({
- title: '评论字数不能小于20',
+ title: '评论字数不能小于10',
@@ -20,7 +20,7 @@
</view>
<view class="message">
<view>评论:</view>
- <textarea bindinput='blurEvaluation' cols="30" rows="10" placeholder="说说菜品亮点和不足吧(不少于20字)"></textarea>
+ <textarea bindinput='blurEvaluation' cols="30" rows="10" placeholder="说说菜品亮点和不足吧(不少于10字)"></textarea>
<view class="upload">
<view style="position: relative;" wx:for="{{imgList}}" wx:key="index">