|
@@ -1,4 +1,4 @@
|
|
|
-import { cloneDeep, omit, get, head, last } from 'lodash'
|
|
|
+import { cloneDeep, omit, get, head, last } from 'lodash';
|
|
|
|
|
|
/**
|
|
|
* @constructor
|
|
@@ -30,6 +30,7 @@ export class SearchBase {
|
|
|
const result = {};
|
|
|
for (const i of keys) {
|
|
|
const value = this[i];
|
|
|
+ if (value === undefined) continue;
|
|
|
if (this.like_prop.includes(i)) {
|
|
|
// 处理模糊查询
|
|
|
const propName = get(this.mapping, i, i);
|