默认第一手显示
This commit is contained in:
parent
83dfd91c2a
commit
f2c4d83671
@ -243,8 +243,8 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
||||
|
||||
});
|
||||
core.registerEvent("setcgs", function (data) {
|
||||
if (!data.img) { core.setLocalStorage('cgs', []) } else {
|
||||
let a = core.getLocalStorage('cgs') ?? []
|
||||
if (!data.img) { core.setLocalStorage('cgs', ["theme.opus"]) } else {
|
||||
let a = core.getLocalStorage('cgs') ?? ["theme.opus"]
|
||||
if (!a.includes(data.img)) a.push(data.img)
|
||||
core.setLocalStorage('cgs', a)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user