🎨 每个工作空间单独持久化 localStorage https://github.com/siyuan-note/siyuan/issues/6404

This commit is contained in:
Liang Ding 2022-10-30 23:57:22 +08:00
parent d2e6198e21
commit bddd3a2823
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -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) {