This commit is contained in:
BianLzhaoMin 2025-03-31 15:58:16 +08:00
parent 6d3f0b1719
commit 4cbc473e86
1 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@
layer.msg("请输入姓名", { icon: 2, time: 2000 });
return false;
}
if ($('#sex').val() == null || $('#name').val() == "") {
if ($('#sex').val() == null || $('#sex').val() == "") {
layer.msg("请选择性别", { icon: 2, time: 2000 });
return false;
}
@ -162,7 +162,7 @@
url: ctxPath + '/evaluatePerson/addPersonInfo',
type: 'POST',
data: {
personList: JSON.stringify(data)
personList: JSON.stringify([data])
},
success: function (res) {
if (res.res === 1) {