lw-cdp-ui 1.4.70 → 1.4.72

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.
@@ -99,6 +99,7 @@ import Tags from './components/tags.vue'
99
99
  import NavMenu from './components/NavMenu.vue'
100
100
  import userbar from './components/userbar.vue'
101
101
  import iframeView from './components/iframeView.vue'
102
+ import packageJson from '../../../package.json'
102
103
  export default {
103
104
  name: 'lwLayout',
104
105
  props: {
@@ -369,6 +370,7 @@ export default {
369
370
  console.groupCollapsed('📦 SYSTEM STATUS')
370
371
 
371
372
  console.groupCollapsed('%c🟢 SYSTEM INITIALIZING', 'color: #4CAF50; font-weight: bold;')
373
+ console.log('lwCdpUi Version:', packageJson.version)
372
374
  console.log('Layout:', this.layout)
373
375
  console.log('Mobile:', this.ismobile)
374
376
  console.log('Collapse:', this.menuIsCollapse)
@@ -395,8 +397,6 @@ export default {
395
397
  console.log('⚠️ 无法获取性能指标')
396
398
  }
397
399
  console.groupEnd()
398
-
399
- console.groupEnd()
400
400
  }
401
401
  }
402
402
  }
@@ -406,7 +406,7 @@ export default {
406
406
 
407
407
  //获取token
408
408
  let token = await this.$api.auth.token(data)
409
- if (this.$config.ENV) {
409
+ if (!this.$config?.PROD) {
410
410
  this.$tool.data.set('TOKEN', token)
411
411
  }
412
412