message: ParamDefinition.mergeParam fix
diff: @@ -435,8 +435,8 @@ export namespace ParamDefinition {
  }
  export function mergeParam(p: Any, a: any, b: any): any {
  - if (a === undefined) return typeof b === 'object' ? { ...b } : b;
  - if (b === undefined) return typeof a === 'object' ? { ...a } : a;
  + if (a === undefined) return typeof b === 'object' && !Array.isArray(b) ? { ...b } : b;
  + if (b === undefined) return typeof a === 'object' && !Array.isArray(a) ? { ...a } : a;
  if (p.type === 'group') {
  return merge(p.params, a, b);
  @@ -448,7 +448,12 @@ export namespace ParamDefinition {
  name: v.name,
  params: mergeParam(map, u.params, v.params)
  };
  + } else if (p.type === 'value') {
  + return b;
  } else if (typeof a === 'object' && typeof b === 'object') {
  + if (Array.isArray(b)) {
  + return b;
  + }
  return { ...a, ...b };
  } else {
  return b;
  