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-25 09:53:50
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.indexHeader || ''
138
- this.showUnit = this.commonConf.showUnit || ''
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)
@@ -60,4 +60,5 @@ export { default as http } from "./http.js";
60
60
  export { default as parse } from "./parse.js";
61
61
  export { default as pdf } from "./pdf.js";
62
62
  export { unwrapJSONStr };
63
+ export * from "./connect.js";
63
64
  import { unwrapJSONStr } from "./parse";
@@ -698,3 +698,4 @@ export { default as http } from './http.js';
698
698
  export { default as parse } from './parse.js';
699
699
  export { default as pdf } from './pdf.js';
700
700
  export { unwrapJSONStr };
701
+ export * from './connect.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "udxcms",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "description": "cms submodule",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",