n20-common-lib 1.2.28 → 1.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "1.2.28",
3
+ "version": "1.2.29",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -488,6 +488,7 @@ export default {
488
488
  try {
489
489
  let tokenObj = decode(data.accessToken)
490
490
  let userInfo = JSON.parse(tokenObj.user_name)
491
+ sessionStorage.setItem("User_Info",tokenObj.user_name);
491
492
  this.userNo = userInfo.userNo
492
493
  } catch (error) {
493
494
  console.error('accessToken解析错误:' + data.accessToken)