@kmkf-fe-packages/kmkf-utils 2.0.37 → 2.0.38
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { fetchAll } from "../../utils";
|
|
2
2
|
import request from "../../request";
|
|
3
|
+
import { uniqBy } from "lodash";
|
|
3
4
|
var queryWarehouseList = function queryWarehouseList(_ref) {
|
|
4
5
|
var pageNo = _ref.pageNo,
|
|
5
6
|
pageSize = _ref.pageSize;
|
|
@@ -27,7 +28,7 @@ export var getWarehouseDataAsync = function getWarehouseDataAsync() {
|
|
|
27
28
|
disabled: isDeleted
|
|
28
29
|
});
|
|
29
30
|
});
|
|
30
|
-
return list;
|
|
31
|
+
return uniqBy(list, "value");
|
|
31
32
|
});
|
|
32
33
|
};
|
|
33
34
|
export default getWarehouseDataAsync;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-utils",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.38",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "bfb2413893af7777fdbf424b1be7fc2c92f2dbb9",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|