mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🐛 v202301271540 logging.go panic 异常,导致内核崩溃 Fix https://github.com/siyuan-note/siyuan/issues/7179
This commit is contained in:
parent
6e02ffd7f5
commit
a91a02f272
1 changed files with 1 additions and 1 deletions
|
|
@ -270,7 +270,7 @@ func parseJSON2Tree(boxID, p string, jsonData []byte, luteEngine *lute.Lute) (re
|
|||
func ReadDocIAL(data []byte) (ret map[string]string) {
|
||||
ret = map[string]string{}
|
||||
val := jsoniter.Get(data, "Properties")
|
||||
if nil == val {
|
||||
if nil == val || val.ValueType() == jsoniter.InvalidValue {
|
||||
return
|
||||
}
|
||||
val.ToVal(&ret)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue