@zgfe/business-lib 1.2.54-ljy-test.0 → 1.2.54-ljy-test.2
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.
|
@@ -10,6 +10,7 @@ declare function useBizStore({ currentApp }: {
|
|
|
10
10
|
eventNameMap?: Record<string, import("../attributeSelector/types").AnalysisEvent> | undefined;
|
|
11
11
|
eventIdMap?: Record<number, import("../attributeSelector/types").AnalysisEvent> | undefined;
|
|
12
12
|
useBizStoreLoading: boolean;
|
|
13
|
+
setUseBizStoreLoading: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
13
14
|
groupLoading: boolean;
|
|
14
15
|
userGroupList: UserGroupTypes.Group[];
|
|
15
16
|
tagList: UserTagsSelectorTypes.Tag[];
|
package/es/hooks/useBizStore.js
CHANGED
|
@@ -158,7 +158,6 @@ function useBizStore(_ref) {
|
|
|
158
158
|
clearTimeout(pre);
|
|
159
159
|
}
|
|
160
160
|
return setTimeout(function () {
|
|
161
|
-
setUseBizStoreLoading(true);
|
|
162
161
|
queryGroups();
|
|
163
162
|
queryTags();
|
|
164
163
|
loadUserProps();
|
|
@@ -169,6 +168,7 @@ function useBizStore(_ref) {
|
|
|
169
168
|
}, [currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId]);
|
|
170
169
|
return _objectSpread({
|
|
171
170
|
useBizStoreLoading: useBizStoreLoading,
|
|
171
|
+
setUseBizStoreLoading: setUseBizStoreLoading,
|
|
172
172
|
groupLoading: groupLoading,
|
|
173
173
|
userGroupList: userGroupList,
|
|
174
174
|
tagList: tagList,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/business-lib",
|
|
3
|
-
"version": "1.2.54-ljy-test.
|
|
3
|
+
"version": "1.2.54-ljy-test.2",
|
|
4
4
|
"module": "es/index.js",
|
|
5
5
|
"typings": "es/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"react": "^16.12.0 || ^17.0.0",
|
|
56
56
|
"yorkie": "^2.0.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "f1d25c3454b6fbf462e4607f88d65a1a7d601766",
|
|
59
59
|
"gitHooks": {
|
|
60
60
|
"pre-commit": "lint-staged"
|
|
61
61
|
}
|