udxcms 1.0.17 → 1.0.19
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,8 +1,8 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
* @Author: Lewis
|
|
3
3
|
* @Date: 2020-11-16 14:38:46
|
|
4
|
-
* @LastEditTime:
|
|
5
|
-
* @LastEditors:
|
|
4
|
+
* @LastEditTime: 2025-09-24 20:45:24
|
|
5
|
+
* @LastEditors: lewis lewis@everylink.ai
|
|
6
6
|
* @Description: update logoIcon
|
|
7
7
|
-->
|
|
8
8
|
|
|
@@ -137,7 +137,7 @@ const header = {
|
|
|
137
137
|
let componentName = this.commonConf.indexHeader || ''
|
|
138
138
|
this.showUnit = this.commonConf.showUnit || ''
|
|
139
139
|
if (Object.keys(this.commonConf).length) {
|
|
140
|
-
this.$store.commit('
|
|
140
|
+
this.$store.commit('setCommonConf', this.commonConf)
|
|
141
141
|
}
|
|
142
142
|
// this.componentId = 'header_dex' || componentName || 'header_b'
|
|
143
143
|
this.componentId = componentName || 'header_b'
|
package/dist/index.js
CHANGED
|
@@ -93,6 +93,8 @@ export function init({ Vue, router, store, Parent, onComponentsRegistered, onRou
|
|
|
93
93
|
// 检查是否是默认导出
|
|
94
94
|
const actualModule = moduleConfig.default || moduleConfig;
|
|
95
95
|
if (actualModule.state || actualModule.mutations || actualModule.actions) {
|
|
96
|
+
// preserveState: true 表示在注册模块时保留现有状态。
|
|
97
|
+
// 当注册一个新的模块时,如果该模块路径下已经存在状态,设置此属性为 true 可以确保这些状态不会被清除。
|
|
96
98
|
store.registerModule(v, actualModule, { preserveState: true });
|
|
97
99
|
}
|
|
98
100
|
else {
|
package/dist/store/CmsStore.js
CHANGED
|
@@ -13,7 +13,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
13
13
|
* @Author:
|
|
14
14
|
* @Date: 2021-07-30 10:46:1
|
|
15
15
|
* @LastEditors: lewis lewis@everylink.ai
|
|
16
|
-
* @LastEditTime: 2025-09-
|
|
16
|
+
* @LastEditTime: 2025-09-24 20:51:05
|
|
17
17
|
*/
|
|
18
18
|
import { getSignleSymbolPrice } from '../api/common';
|
|
19
19
|
export default {
|