gant-core 0.1.34 → 0.1.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cli/index.js CHANGED
@@ -48737,7 +48737,7 @@ const createCwdConfig = (cwd, name, vue) => {
48737
48737
  };
48738
48738
 
48739
48739
  var name = "gant-core";
48740
- var version = "0.1.34";
48740
+ var version = "0.1.35";
48741
48741
  var description = "";
48742
48742
  var main = "lib/index.js";
48743
48743
  var bin = {
package/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import axios__default from 'axios';
2
2
  export * from 'axios';
3
- import { forEach, groupBy, reduce, find, pick, get as get$1, uniqueId, omit, isEmpty, findIndex, isPlainObject, cloneDeep, mapValues, uniqBy, toLower, isObject, mergeWith, has, join } from 'lodash-es';
3
+ import { forEach, groupBy, reduce, find, keyBy, pick, get as get$1, uniqueId, omit, isEmpty, findIndex, isPlainObject, cloneDeep, mapValues, uniqBy, toLower, isObject, mergeWith, has, join } from 'lodash-es';
4
4
  import mitt from 'mitt';
5
5
 
6
6
  class InterceptorManager {
@@ -218,7 +218,7 @@ class ParameterStoreClass {
218
218
  findAllParameters = async () => {
219
219
  const res = await findSystemParameterApi();
220
220
  const data = res || [];
221
- const dataMap = groupBy(data, 'name');
221
+ const dataMap = keyBy(data, 'name');
222
222
  this.parameterList = data;
223
223
  this.parameterMap = dataMap;
224
224
  };