From c91b1f72d777e0fbf804c7f99d91052c568eb46d Mon Sep 17 00:00:00 2001 From: donne <503124742@qq.com> Date: Tue, 5 Apr 2022 11:27:21 +0800 Subject: [PATCH] fix --- src/views/components/OperationModal/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/components/OperationModal/index.vue b/src/views/components/OperationModal/index.vue index ec9f2194..3e4bf2ba 100644 --- a/src/views/components/OperationModal/index.vue +++ b/src/views/components/OperationModal/index.vue @@ -308,7 +308,7 @@ export default { selectedChain() { let config = null const allChains = localStorage.getItem('chains') - if (allChains) { + if (allChains && this.selectedChainName) { config = JSON.parse(allChains)[this.selectedChainName] } return config