取消对导出数据的格式化

pull/96/head
lyswhut 2019-11-29 21:47:13 +08:00
parent a012d1b927
commit ca56089a3e
1 changed files with 3 additions and 3 deletions

View File

@ -365,7 +365,7 @@ export default {
type: 'setting',
data: this.setting,
}
fs.writeFile(path, JSON.stringify(data, null, 2), 'utf8', err => {
fs.writeFile(path, JSON.stringify(data), 'utf8', err => {
console.log(err)
})
},
@ -395,7 +395,7 @@ export default {
this.loveList,
],
}
fs.writeFile(path, JSON.stringify(data, null, 2), 'utf8', err => {
fs.writeFile(path, JSON.stringify(data), 'utf8', err => {
console.log(err)
})
},
@ -424,7 +424,7 @@ export default {
this.loveList,
],
}
fs.writeFile(path, JSON.stringify(allData, null, 2), 'utf8', err => {
fs.writeFile(path, JSON.stringify(allData), 'utf8', err => {
console.log(err)
})
},