n20-common-lib 1.2.26 → 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.26",
3
+ "version": "1.2.29",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -16,7 +16,7 @@
16
16
  <el-tooltip
17
17
  class="set-user-btn"
18
18
  effect="dark"
19
- content="帮组文档"
19
+ content="帮助文档"
20
20
  placement="top-start"
21
21
  >
22
22
  <i class="el-icon-info" @click="openHelp"></i>
@@ -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)
@@ -17,6 +17,7 @@
17
17
  {{ loginLogoText }}
18
18
  </h3>
19
19
  </div>
20
+ <div class="title-nav">{{title}}</div>
20
21
  <loginForm
21
22
  v-if="type"
22
23
  @changType="getChangetype"
@@ -65,6 +66,7 @@ export default {
65
66
  },
66
67
  data() {
67
68
  return {
69
+ title:'',
68
70
  loginTypes: ['account'],
69
71
  loginBg: undefined,
70
72
  loginLogo: undefined,
@@ -87,6 +89,7 @@ export default {
87
89
  this.loginLogoWidth = _layoutData.loginLogoWidth
88
90
  this.loginLogoHeight = _layoutData.loginLogoHeight
89
91
  this.loginLogoText = _layoutData.loginLogoText
92
+ this.title = _layoutData.loginLogoText
90
93
  })
91
94
  },
92
95
  removeStorage() {
@@ -132,4 +135,12 @@ export default {
132
135
  font-size: 12px;
133
136
  color: #3d4a57;
134
137
  }
138
+ .title-nav {
139
+ position: absolute;
140
+ top: 40%;
141
+ left: 10%;
142
+ font-size: 68px;
143
+ font-weight: 600;
144
+ color: #e6ad85;
145
+ }
135
146
  </style>