This commit is contained in:
Xwite committed 2023-05-14 20:14:04 +08:00
1 parent 49e97950f0
commit f98282ed2c
2 files changed
+50 -50

No files matched your search

+1 -1
View File
@@ -72,7 +72,7 @@ export const useSourceStore = defineStore("source", {
saveCurrentSource() {
let source = this.currentSource,
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()));
},
// 更改当前编辑的源qq