udxcms 1.0.40 → 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.
|
@@ -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
|
|
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
|
|
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-
|
|
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
|