udxcms 1.0.39 → 1.0.41

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-11-04 11:41:25
4
+ * @LastEditTime: 2025-11-04 13:45:22
5
5
  * @LastEditors: lewis lewis@everylink.ai
6
6
  * @Description:
7
7
  -->
@@ -133,7 +133,7 @@
133
133
  watch: {
134
134
  currencyList: {
135
135
  handler(newVal, oldVal) {
136
- console.log('currencyList watch - new:', newVal, 'old:', oldVal, this.store.state.storeType)
136
+ console.log('currencyList watch - new:', newVal, 'old:', oldVal, this.$store.state.storeType)
137
137
  },
138
138
  immediate: true,
139
139
  deep: true
@@ -4,7 +4,7 @@
4
4
  * @Author:
5
5
  * @Date: 2021-10-26 16:50:22
6
6
  * @LastEditors: lewis lewis@everylink.ai
7
- * @LastEditTime: 2025-11-04 11:44:15
7
+ * @LastEditTime: 2025-11-04 17:41:16
8
8
  -->
9
9
  <template>
10
10
  <div class='network-box' :style="{visibility: chainShow ? 'visible': 'hidden'}">
@@ -149,7 +149,7 @@
149
149
  }
150
150
  },
151
151
  async setChainArrLists() {
152
- if (!this.layer1NetworkList.length) {
152
+ if (!this.layer1NetworkList?.length) {
153
153
  await this.$store.dispatch('coin/fetchNetworkList')
154
154
  }
155
155
  try {
@@ -4,7 +4,7 @@
4
4
  * @Author:
5
5
  * @Date: 2022-02-10 14:24:36
6
6
  * @LastEditors: lewis lewis@everylink.ai
7
- * @LastEditTime: 2025-10-24 11:10:28
7
+ * @LastEditTime: 2025-11-04 17:41:42
8
8
  -->
9
9
  <template>
10
10
  <div class='rinkeby-box'>
@@ -41,11 +41,12 @@
41
41
  },
42
42
  computed: {
43
43
  layer1NetworkList() {
44
- return this.$store.getters['wallet/walletNetworks'];
44
+ return this.$store.getters['wallet/walletNetworks'] || [];
45
45
  }
46
46
  },
47
47
  watch: {
48
48
  $route: {
49
+
49
50
  handler(val) {
50
51
  let routeName = val.name
51
52
  this.chainShow = this.chainShowArr.indexOf(routeName) == -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "udxcms",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
4
4
  "description": "cms submodule",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",