mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
🎨 每个工作空间单独持久化 localStorage https://github.com/siyuan-note/siyuan/issues/6404
This commit is contained in:
parent
d2e6198e21
commit
bddd3a2823
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ func RemoveLocalStorageVal(key string) (err error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
delete(localStorage, key)
|
delete(localStorage, key)
|
||||||
return
|
return setLocalStorage(localStorage)
|
||||||
}
|
}
|
||||||
|
|
||||||
func SetLocalStorageVal(key string, val interface{}) (err error) {
|
func SetLocalStorageVal(key string, val interface{}) (err error) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue