|
@@ -96,8 +96,8 @@ export const useWalletStore = defineStore("useWalletStore", {
|
|
|
this.isAuthenticated = true;
|
|
|
this.chainId = `${await web3.eth.getChainId()}n`;
|
|
|
this.id = `${this.account}@${this.accountName}`
|
|
|
- this.addWallet()
|
|
|
await sysLogin(this.account)
|
|
|
+ this.addWallet()
|
|
|
return {
|
|
|
address: account.address,
|
|
|
chainId: this.chainId,
|