历史记录的导入导出

This commit is contained in:
haiyangcui
2020-10-22 18:22:41 +02:00
parent 1d33db0143
commit 7ad40ba375
4 changed files with 47 additions and 3 deletions

View File

@@ -301,7 +301,7 @@ export default {
},
exportFavoritesEvent () {
const arr = [...this.list]
const str = JSON.stringify(arr, null, 4)
const str = JSON.stringify(arr, null, 2)
const options = {
filters: [
{ name: 'JSON file', extensions: ['json'] },