feat: add readNotes and clearAllData option
This commit is contained in:
parent
096d14735b
commit
780e6e8b1a
6 changed files with 166 additions and 40 deletions
|
|
@ -7,7 +7,6 @@ async function userConfig(path) {
|
|||
|
||||
data: function () {
|
||||
return {
|
||||
clearAllData: false
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
@ -17,7 +16,7 @@ async function userConfig(path) {
|
|||
'Please make sure you save your private key! You will not be able to recover it later!'
|
||||
)
|
||||
.onOk(async () => {
|
||||
this.$emit('logout', { clearAllData: this.clearAllData })
|
||||
this.$emit('logout')
|
||||
})
|
||||
},
|
||||
copyText(text) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue