udxcms 1.0.29 → 1.0.31

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:
3
3
  * @Date: 2020-11-19 12:38:02
4
- * @LastEditTime: 2025-10-09 18:54:36
4
+ * @LastEditTime: 2025-10-10 11:44:39
5
5
  * @LastEditors: lewis lewis@everylink.ai
6
6
  * @Description:
7
7
  -->
@@ -78,7 +78,9 @@
78
78
  },
79
79
  computed: {
80
80
  ...mapState('user', ['currency', 'userInfo']),
81
- ...mapState('cmsstore', ['currencyList'])
81
+ currencyList() {
82
+ return this.$store.state.cmsstore.currencyList || []
83
+ }
82
84
  },
83
85
  data() {
84
86
  return {
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * @Author: lewis lewis@everylink.ai
3
3
  * @Date: 2025-09-17 10:50:27
4
4
  * @LastEditors: lewis lewis@everylink.ai
5
- * @LastEditTime: 2025-10-09 18:53:51
5
+ * @LastEditTime: 2025-10-10 17:01:10
6
6
  * @FilePath: /localTools/Users/apple/web-front/web-front/src/common_modules/cms-submodule/index.js
7
7
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8
8
  */
@@ -108,6 +108,7 @@ export function init({ Vue, router, store, Parent, onComponentsRegistered, onRou
108
108
  console.log(`注册模块 ${v} 成功`);
109
109
  // 使用原始模块名,不进行小写转换
110
110
  const moduleName = v === 'CmsStore' ? 'cmsstore' : v;
111
+ // TODO失去了数据响应式
111
112
  store.registerModule(moduleName, actualModule, { preserveState: false });
112
113
  // 特殊处理 CmsStore - 直接合并到根 store
113
114
  // if (v === 'CmsStore') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "udxcms",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "description": "cms submodule",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",