xiaohaizhao пре 11 месеци
родитељ
комит
a7b030956d
1 измењених фајлова са 1 додато и 4 уклоњено
  1. 1 4
      pages/index/collect/modules/customMade/index.js

+ 1 - 4
pages/index/collect/modules/customMade/index.js

@@ -78,10 +78,7 @@ Component({
       item.tips = '';
       item.value = (e.detail.value - 0).toFixed(item.decimalplaces);
       if (item.value > item.max) item.tips = `自定义${item.label}超出可选范围!`;
-      if (item.value < item.min) item.value = item.min;
-
-      // item.tips = `自定义${item.label}少于可选范围!`;
-
+      if (item.value < item.min) item.tips = `自定义${item.label}少于可选范围!`;
       if (item.tips) wx.showToast({
         title: item.tips,
         icon: "none"