在登录页添加一个按钮来新建助记词,免得每次都翻文档找一个Mnemonic,但是还没有成功。
This commit is contained in:
@@ -46,5 +46,12 @@ export default {
|
||||
commit('updateError', i18n.t('login.errorMnemonic'))
|
||||
}
|
||||
},
|
||||
async createSecword({ state, commit }) {
|
||||
alert('entering createSecword')
|
||||
let secword = await ticApi.randomSecword('English')
|
||||
alert('after secword')
|
||||
console.info('secword=' + secword)
|
||||
alert('secword=' + secword)
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user