@ibiz-template/core 0.0.1-alpha.10 → 0.0.1-alpha.13
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/out/utils/util/util.js +1 -1
- package/package.json +6 -2
- package/src/utils/util/util.ts +1 -1
package/out/utils/util/util.js
CHANGED
|
@@ -25,7 +25,7 @@ export function getToken() {
|
|
|
25
25
|
*/
|
|
26
26
|
export function isOverlap(arr1, arr2) {
|
|
27
27
|
const newArr = Array.from(new Set([...arr1, ...arr2]));
|
|
28
|
-
return newArr.length
|
|
28
|
+
return newArr.length !== arr1.length + arr2.length;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* 防抖并合并每次的参数
|
package/package.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiz-template/core",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.13",
|
|
4
4
|
"description": "核心包",
|
|
5
5
|
"main": "out/index.js",
|
|
6
6
|
"types": "out/index.d.ts",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://gitee.com/iBizModeling/ibiz-template.git"
|
|
10
|
+
},
|
|
7
11
|
"files": [
|
|
8
12
|
"out",
|
|
9
13
|
"src"
|
|
@@ -35,5 +39,5 @@
|
|
|
35
39
|
"lodash-es": "^4.17.21",
|
|
36
40
|
"qx-util": "^0.4.1"
|
|
37
41
|
},
|
|
38
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "e72517e4226353804443c9a0cd7b40aaf0edf846"
|
|
39
43
|
}
|
package/src/utils/util/util.ts
CHANGED
|
@@ -27,7 +27,7 @@ export function getToken(): string | null {
|
|
|
27
27
|
*/
|
|
28
28
|
export function isOverlap(arr1: any[], arr2: any[]): boolean {
|
|
29
29
|
const newArr = Array.from(new Set([...arr1, ...arr2]));
|
|
30
|
-
return newArr.length
|
|
30
|
+
return newArr.length !== arr1.length + arr2.length;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
/**
|