forked from ard/ruoyi-api

liusuyi
2023-10-23 bd8cdb3244d058ad062610c8dc914374b52dd1e6
1
2
3
4
5
6
7
8
9
10
11
12
export default function _objectWithoutPropertiesLoose(source, excluded) {
  if (source == null) return {};
  var target = {};
  var sourceKeys = Object.keys(source);
  var key, i;
  for (i = 0; i < sourceKeys.length; i++) {
    key = sourceKeys[i];
    if (excluded.indexOf(key) >= 0) continue;
    target[key] = source[key];
  }
  return target;
}