修正了Login.vue里"renewing"的问题,但仍然不能调用 randomSecword(),这句导致报错 "window is not defined"。猜测是 bitcore-mnemonic 不能在前端页面里使用。
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
:error-messages="errorMnemonic"
|
||||
:value="mnemonic"
|
||||
:loading="signing"
|
||||
:renewing="renewing"
|
||||
@input="updateMnemonic"
|
||||
@keyup.13="login"
|
||||
:label="$t('login.inputLabel')" />
|
||||
@@ -26,7 +27,7 @@
|
||||
item-text="label"
|
||||
/>
|
||||
|
||||
<v-btn :loading="renewing" dark large color="transparent" @click="createSecword">
|
||||
<v-btn :renewing="renewing" dark large color="transparent" @click="createSecword">
|
||||
{{ $t('login.secwordBtn') }}
|
||||
</v-btn>
|
||||
|
||||
@@ -53,6 +54,7 @@ export default {
|
||||
'mnemonic',
|
||||
'errorMnemonic',
|
||||
'signing',
|
||||
'renewing',
|
||||
]),
|
||||
...mapGetters([
|
||||
'inputError',
|
||||
|
||||
Reference in New Issue
Block a user