liming пре 1 месец
родитељ
комит
2ff917a8e6
2 измењених фајлова са 7 додато и 6 уклоњено
  1. 0 1
      android/app/capacitor.build.gradle
  2. 7 5
      src/views/login/backupMnemonic/index.vue

+ 0 - 1
android/app/capacitor.build.gradle

@@ -12,7 +12,6 @@ dependencies {
     implementation project(':aparajita-capacitor-biometric-auth')
     implementation project(':capacitor-app')
     implementation project(':capacitor-browser')
-    implementation project(':capacitor-clipboard')
     implementation project(':capacitor-device')
     implementation project(':capacitor-local-notifications')
     implementation project(':capacitor-push-notifications')

+ 7 - 5
src/views/login/backupMnemonic/index.vue

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