diff --git a/src/utils/index.ts b/src/utils/index.ts index 5ff13cf44..6e436689a 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -52,14 +52,6 @@ export function deepMerge { - if (isObject(objValue) && isObject(srcValue)) { - return mergeWith(cloneDeep(objValue), srcValue, (prevValue, nextValue) => { - // 如果是数组,合并数组(去重) If it is an array, merge the array (remove duplicates) - return isArray(prevValue) ? unionWith(prevValue, nextValue, isEqual) : undefined; - }); - if (!target) { return source as T & U; }