mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-02-13 15:35:28 +08:00
导出时先更新数据
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user