fixed import-export
This commit is contained in:
parent
e5a34870f0
commit
1a78461443
4 changed files with 56 additions and 11 deletions
|
@ -42,7 +42,7 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
exportData () {
|
||||
const stringified = JSON.stringify(this.exportObject) // Pretty-print and indent with 2 spaces
|
||||
const stringified = JSON.stringify(this.exportObject, null, 2) // Pretty-print and indent with 2 spaces
|
||||
|
||||
// Create an invisible link with a data url and simulate a click
|
||||
const e = document.createElement('a')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue