add note
This commit is contained in:
parent
0ada970337
commit
d518682e73
|
@ -162,6 +162,7 @@ export class PreferencesManager {
|
|||
this.r[key].value = this.s[key] = v;
|
||||
}
|
||||
|
||||
// TODO: desync対策 cloudの値のfetchが正常に完了していない状態でcommitすると多分値が上書きされる
|
||||
public commit<K extends keyof PREF>(key: K, value: ValueOf<K>) {
|
||||
const v = JSON.parse(JSON.stringify(value)); // deep copy 兼 vueのプロキシ解除
|
||||
|
||||
|
|
Loading…
Reference in New Issue