@zgfe/modules-settings 2.0.0-zhongyuan.28 → 2.0.0-zhongyuan.29
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.
|
@@ -16,13 +16,13 @@ import util from '../../utils/util';
|
|
|
16
16
|
import SecurityLog from './securityLog';
|
|
17
17
|
import CreateProcess from '../messageList';
|
|
18
18
|
var PersonalSetting = function PersonalSetting(_ref) {
|
|
19
|
-
var _route$
|
|
19
|
+
var _route$query;
|
|
20
20
|
var settingsCallback = _ref.settingsCallback;
|
|
21
21
|
var _useContext = useContext(BizGlobalDataContext),
|
|
22
22
|
currentUser = _useContext.currentUser,
|
|
23
23
|
isDemo = _useContext.isDemo,
|
|
24
24
|
route = _useContext.route;
|
|
25
|
-
var _useState = useState((route === null || route === void 0 ? void 0 : (_route$
|
|
25
|
+
var _useState = useState((route === null || route === void 0 ? void 0 : (_route$query = route.query) === null || _route$query === void 0 ? void 0 : _route$query.currentKey) || '1'),
|
|
26
26
|
_useState2 = _slicedToArray(_useState, 2),
|
|
27
27
|
currentKey = _useState2[0],
|
|
28
28
|
setCurrentKey = _useState2[1];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-settings",
|
|
3
|
-
"version": "2.0.0-zhongyuan.
|
|
3
|
+
"version": "2.0.0-zhongyuan.29",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"typings": "es/index.d.ts",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "a98a038f5c0579122ed2ba5f4d7d1ed7d9b8f48b",
|
|
71
71
|
"gitHooks": {
|
|
72
72
|
"pre-commit": "lint-staged"
|
|
73
73
|
}
|