修改判断逻辑

This commit is contained in:
liaozetao
2024-03-21 11:24:24 +08:00
parent 78b0dd9c5c
commit 88fd22491b

View File

@@ -149,7 +149,7 @@ export default {
add() {
let minValue = $("#minValue").val();
let maxValue = $("#maxValue").val();
if (!minValue) {
if (!minValue || minValue != '') {
$("#tipMsg").text("\"刷礼个数大于等于\"不能为空");
$("#tipModal").modal("show");
return;