n20-common-lib 2.3.16 → 2.3.17

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": "2.3.16",
3
+ "version": "2.3.17",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -338,7 +338,7 @@ export default {
338
338
  byLabel: '',
339
339
  byEV: false,
340
340
  headerUserInfoBg: realUrl('/server-assets/userInfoBg.png'),
341
- inBack: window.localStorage.getItem('pageInType') === 'inBack'
341
+ inBack: !window.localStorage.getItem('pageInSystemNo') && window.localStorage.getItem('pageInType') === 'inBack'
342
342
  }
343
343
  },
344
344
  computed: {
@@ -349,6 +349,7 @@ export default {
349
349
  // window.addEventListener('resize', this.setWrapSty)
350
350
 
351
351
  this.init()
352
+ localStorage.setItem('pageInSystemNo', this.form.SYSTEM_LIST[0].NO)
352
353
  },
353
354
  beforeDestroy() {
354
355
  // window.removeEventListener('resize', this.setWrapSty)