This commit is contained in:
francis-fh
2026-07-16 01:06:02 +08:00
parent 9a5ac849a0
commit a804e443f3

View File

@@ -1134,9 +1134,13 @@ function handleNewFilterConfirm(values) {
// 特殊处理岗位类型,直接传递数字值
if (key === 'jobType') {
pageState.search.type = value;
} else if (key === 'area' && Array.isArray(value) && value.length > 0) {
// 地区多选,转为逗号分隔字符串
} else if (key === 'area') {
// 地区多选,转为逗号分隔字符串;未选择时设为空字符串
if (Array.isArray(value) && value.length > 0) {
pageState.search[key] = value.join(',');
} else {
pageState.search[key] = '';
}
} else if (value) {
pageState.search[key] = value;
} else {