导出时先更新数据

This commit is contained in:
haiyangcui
2020-08-27 14:32:29 +02:00
parent ba9f3246d2
commit ebfb681205

View File

@@ -238,6 +238,7 @@ export default {
})
},
exportFavorites () {
this.getFavorites()
const arr = [...this.favoritesList]
const str = JSON.stringify(arr, null, 4)
const options = {
@@ -329,6 +330,7 @@ export default {
})
},
expSites () {
this.getSites()
const arr = [...this.sitesList]
const str = JSON.stringify(arr, null, 4)
const options = {