udxcms 1.0.23 → 1.0.25
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
* @Author: Lewis
|
|
3
3
|
* @Date: 2020-11-16 14:38:46
|
|
4
|
-
* @LastEditTime: 2025-09-
|
|
4
|
+
* @LastEditTime: 2025-09-26 15:38:30
|
|
5
5
|
* @LastEditors: lewis lewis@everylink.ai
|
|
6
6
|
* @Description: update logoIcon
|
|
7
7
|
-->
|
|
@@ -130,12 +130,12 @@ const header = {
|
|
|
130
130
|
let pageName = this.$route.name
|
|
131
131
|
let styleObj = getStyleObj(pageName, ['commonConf', 'commonHeader', 'styleConf', 'indexStyleList'])
|
|
132
132
|
let {commonConf, commonHeader, indexStyleList, styleConf} = styleObj
|
|
133
|
-
this.commonConf = commonConf
|
|
134
|
-
this.commonHeader = commonHeader
|
|
135
|
-
this.styleConf = styleConf
|
|
136
|
-
this.indexStyleList = indexStyleList
|
|
137
|
-
let componentName = this.commonConf
|
|
138
|
-
this.showUnit = this.commonConf
|
|
133
|
+
this.commonConf = commonConf || {}
|
|
134
|
+
this.commonHeader = commonHeader || {}
|
|
135
|
+
this.styleConf = styleConf || {}
|
|
136
|
+
this.indexStyleList = indexStyleList || []
|
|
137
|
+
let componentName = this.commonConf?.indexHeader || ''
|
|
138
|
+
this.showUnit = this.commonConf?.showUnit || ''
|
|
139
139
|
if (Object.keys(this.commonConf).length) {
|
|
140
140
|
// this.$store.state.common.commonConf = this.commonConf
|
|
141
141
|
this.$store.commit('setCommonConf', this.commonConf)
|
package/dist/utils/index.d.ts
CHANGED
package/dist/utils/index.js
CHANGED