|
@@ -14,7 +14,7 @@
|
|
"
|
|
"
|
|
show-word-limit
|
|
show-word-limit
|
|
/>
|
|
/>
|
|
- <van-field
|
|
|
|
|
|
+ <!-- <van-field
|
|
v-model="form.username"
|
|
v-model="form.username"
|
|
name="username"
|
|
name="username"
|
|
:label="$t('form.WalletName')"
|
|
:label="$t('form.WalletName')"
|
|
@@ -25,7 +25,7 @@
|
|
message: $t('form.PleaseFillIn') + $t('form.WalletName'),
|
|
message: $t('form.PleaseFillIn') + $t('form.WalletName'),
|
|
},
|
|
},
|
|
]"
|
|
]"
|
|
- />
|
|
|
|
|
|
+ /> -->
|
|
<van-field
|
|
<van-field
|
|
v-model="form.password"
|
|
v-model="form.password"
|
|
type="password"
|
|
type="password"
|
|
@@ -93,8 +93,7 @@ const onSubmit = async () => {
|
|
walletStore.privateKey = form.value.userKey;
|
|
walletStore.privateKey = form.value.userKey;
|
|
}else{
|
|
}else{
|
|
walletStore.words = form.value.userKey.trim().split(',');
|
|
walletStore.words = form.value.userKey.trim().split(',');
|
|
- }
|
|
|
|
- walletStore.username = form.value.username;
|
|
|
|
|
|
+ }
|
|
walletStore.accountPassword = form.value.password;
|
|
walletStore.accountPassword = form.value.password;
|
|
walletStore.accountHint = form.value.promptMessage;
|
|
walletStore.accountHint = form.value.promptMessage;
|
|
await walletStore.loginWithPrivateKey(type != 0);
|
|
await walletStore.loginWithPrivateKey(type != 0);
|