@yysports/tools 0.1.10 → 0.1.11
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/dist/Track/index.js +1 -1
- package/lib/Track/index.js +1 -1
- package/package.json +16 -16
package/dist/Track/index.js
CHANGED
|
@@ -221,7 +221,7 @@ var Track = /*#__PURE__*/function () {
|
|
|
221
221
|
});
|
|
222
222
|
case 5:
|
|
223
223
|
// 如果对接了权限中心,取权限中心的用户信息
|
|
224
|
-
if (this.authCenterUserProfile.
|
|
224
|
+
if (this.authCenterUserProfile.userName) {
|
|
225
225
|
this.setUserProfile({
|
|
226
226
|
userId: this.authCenterUserProfile.userName,
|
|
227
227
|
userName: this.authCenterUserProfile.nickName
|
package/lib/Track/index.js
CHANGED
|
@@ -175,7 +175,7 @@ var Track = class {
|
|
|
175
175
|
menuNameMap,
|
|
176
176
|
routes
|
|
177
177
|
});
|
|
178
|
-
if (this.authCenterUserProfile.
|
|
178
|
+
if (this.authCenterUserProfile.userName) {
|
|
179
179
|
this.setUserProfile({
|
|
180
180
|
userId: this.authCenterUserProfile.userName,
|
|
181
181
|
userName: this.authCenterUserProfile.nickName
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yysports/tools",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"description": "常用工具函数库",
|
|
5
5
|
"homepage": "https://git.pousheng.com/sport-service-department/pousheng-guard/yysports_tools#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -64,25 +64,25 @@
|
|
|
64
64
|
"pako": "^2.1.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@ant-design/pro-components": "^2.
|
|
68
|
-
"@commitlint/cli": "^19.
|
|
69
|
-
"@commitlint/config-conventional": "^19.
|
|
67
|
+
"@ant-design/pro-components": "^2.8.4",
|
|
68
|
+
"@commitlint/cli": "^19.6.1",
|
|
69
|
+
"@commitlint/config-conventional": "^19.6.0",
|
|
70
70
|
"@types/pako": "^2.0.3",
|
|
71
|
-
"@types/react": "^18.3.
|
|
72
|
-
"@types/react-dom": "^18.3.
|
|
73
|
-
"@umijs/lint": "^4.
|
|
74
|
-
"antd": "^5.
|
|
75
|
-
"dumi": "^2.4.
|
|
76
|
-
"eslint": "^9.
|
|
77
|
-
"father": "^4.5.
|
|
78
|
-
"husky": "^9.1.
|
|
79
|
-
"lint-staged": "^15.
|
|
80
|
-
"prettier": "^3.
|
|
71
|
+
"@types/react": "^18.3.18",
|
|
72
|
+
"@types/react-dom": "^18.3.5",
|
|
73
|
+
"@umijs/lint": "^4.4.4",
|
|
74
|
+
"antd": "^5.23.2",
|
|
75
|
+
"dumi": "^2.4.17",
|
|
76
|
+
"eslint": "^9.18.0",
|
|
77
|
+
"father": "^4.5.2",
|
|
78
|
+
"husky": "^9.1.7",
|
|
79
|
+
"lint-staged": "^15.4.1",
|
|
80
|
+
"prettier": "^3.4.2",
|
|
81
81
|
"prettier-plugin-organize-imports": "^3.2.4",
|
|
82
|
-
"prettier-plugin-packagejson": "^2.5.
|
|
82
|
+
"prettier-plugin-packagejson": "^2.5.8",
|
|
83
83
|
"react": "^18.3.1",
|
|
84
84
|
"react-dom": "^18.3.1",
|
|
85
|
-
"stylelint": "^16.
|
|
85
|
+
"stylelint": "^16.13.2"
|
|
86
86
|
},
|
|
87
87
|
"publishConfig": {
|
|
88
88
|
"access": "public"
|