|
@@ -31,6 +31,9 @@ import { useWalletAuth } from "@/composables/useWalletAuth";
|
|
import { useCopy } from '@/hooks/use-copy.js';
|
|
import { useCopy } from '@/hooks/use-copy.js';
|
|
useCopy();
|
|
useCopy();
|
|
|
|
|
|
|
|
+
|
|
|
|
+const router = useRouter();
|
|
|
|
+
|
|
const systemStore = useSystemStore();
|
|
const systemStore = useSystemStore();
|
|
const {
|
|
const {
|
|
authState,
|
|
authState,
|
|
@@ -47,11 +50,10 @@ const next = async () => {
|
|
// 登录
|
|
// 登录
|
|
const data = await loginWithPrivateKey(
|
|
const data = await loginWithPrivateKey(
|
|
systemStore.getWallet.privateKey.trim()
|
|
systemStore.getWallet.privateKey.trim()
|
|
- );
|
|
|
|
- console.log("data=", data);
|
|
|
|
- //
|
|
|
|
- const res = await getBalance();
|
|
|
|
- console.log("res=", res);
|
|
|
|
|
|
+ );
|
|
|
|
+ router.push({
|
|
|
|
+ path:"/me"
|
|
|
|
+ })
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|