gant-core 0.1.34 → 0.1.36
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 +21 -16
- package/lib/cli/index.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/package.json +2 -1
- package/rollup.config.js +1 -0
package/lib/index.d.ts
CHANGED
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 =
|
|
221
|
+
const dataMap = keyBy(data, 'name');
|
|
222
222
|
this.parameterList = data;
|
|
223
223
|
this.parameterMap = dataMap;
|
|
224
224
|
};
|