|
@ -8,8 +8,8 @@ |
|
|
{{i18n.Mnemonicsimportverification}} |
|
|
{{i18n.Mnemonicsimportverification}} |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<u-input type="textarea" :clearable="false" v-model="wordInfo" @input="getmon()" :placeholder="teee" class="textareaa" placeholderStyle="color:rgb(224,229,242)" |
|
|
<u-input type="textarea" :clearable="false" v-model="wordInfo" @input="getmon()" :placeholder="teee" |
|
|
:focus="foucStatus" @blur="hideMon" /> |
|
|
class="textareaa" placeholderStyle="color:rgb(224,229,242)" :focus="foucStatus" @blur="hideMon" /> |
|
|
|
|
|
|
|
|
<u-button class="custom-style" @click="confirm">{{i18n.Confirm}}</u-button> |
|
|
<u-button class="custom-style" @click="confirm">{{i18n.Confirm}}</u-button> |
|
|
|
|
|
|
|
@ -170,15 +170,6 @@ |
|
|
} |
|
|
} |
|
|
this.typename = uni.getStorageSync('createWalletName') |
|
|
this.typename = uni.getStorageSync('createWalletName') |
|
|
if (!this.typename) { |
|
|
if (!this.typename) { |
|
|
|
|
|
|
|
|
if(this.wordInfo.split(" ").length%12!=0){ |
|
|
|
|
|
uni.showToast({ |
|
|
|
|
|
title: this.$t('index').MnemonicsError, |
|
|
|
|
|
icon: 'none', |
|
|
|
|
|
duration: 1500 |
|
|
|
|
|
}) |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
|
|
|
uni.setStorageSync('word', this.wordInfo); |
|
|
uni.setStorageSync('word', this.wordInfo); |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/menu/backUp/transPaw/index' |
|
|
url: '/pages/menu/backUp/transPaw/index' |
|
@ -230,7 +221,7 @@ this.defaultPhoneHeight = window.innerHeight |
|
|
window.onresize = () => { |
|
|
window.onresize = () => { |
|
|
this.nowPhoneHeight = window.innerHeight |
|
|
this.nowPhoneHeight = window.innerHeight |
|
|
} |
|
|
} |
|
|
if (item != '' || item != undefined) { |
|
|
if (item != '' && item != undefined) { |
|
|
uni.setStorageSync('createWalletName', item.name) |
|
|
uni.setStorageSync('createWalletName', item.name) |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|