Commit 61c7cd70 by 李伟康

```

fix(usedCarManagement): 修复车辆台账参数过滤逻辑

完善参数过滤条件,增加undefined值的判断,确保空值参数能够被正确过滤,
避免将undefined值传递给后端接口造成数据异常。
```
1 parent c5e1be02
...@@ -323,7 +323,7 @@ export default { ...@@ -323,7 +323,7 @@ export default {
...this.getParams() ...this.getParams()
} }
Object.keys(params).forEach((key) => { Object.keys(params).forEach((key) => {
if (params[key] == null || params[key] == "") { if (params[key] === null || params[key] === "" || params[key] === undefined) {
delete params[key] delete params[key]
} }
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!