This commit is contained in:
gozzy 2023-01-31 19:35:39 +00:00
parent ea97a39aff
commit 5aef9e6d06

View File

@ -187,7 +187,9 @@ export default {
},
onSave() {
this.SAVE_RPC({ ...this.rpc, netId: this.netId })
this.SAVE_RPC({ ...this.ethRpc, netId: 1 })
if (this.netId !== 1) {
this.SAVE_RPC({ ...this.ethRpc, netId: 1 })
}
this.$emit('close')
},
onCancel() {