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

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