mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
b68f10b53b
@ -72,7 +72,7 @@ export const useSourceStore = defineStore("source", {
|
|||||||
saveCurrentSource() {
|
saveCurrentSource() {
|
||||||
let source = this.currentSource,
|
let source = this.currentSource,
|
||||||
map = this.sourcesMap;
|
map = this.sourcesMap;
|
||||||
map.set(getSourceUniqueKey(source), Object.create(source));
|
map.set(getSourceUniqueKey(source), JSON.parse(JSON.stringify(source)));
|
||||||
this.saveSources(Array.from(map.values()));
|
this.saveSources(Array.from(map.values()));
|
||||||
},
|
},
|
||||||
// 更改当前编辑的源qq
|
// 更改当前编辑的源qq
|
||||||
|
Loading…
Reference in New Issue
Block a user