mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🐛 v202301271540 logging.go panic 异常,导致内核崩溃 Fix https://github.com/siyuan-note/siyuan/issues/7179
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user