🐛 The update time of the database checkbox field keeps changing https://github.com/siyuan-note/siyuan/issues/15707

This commit is contained in:
Daniel 2025-08-30 17:26:03 +08:00
parent b51f283e35
commit 7a2e5782d8
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1488,7 +1488,7 @@ func GetBlockAttributeViewKeys(nodeID string) (ret []*BlockAttributeViewKeys) {
keyValues = append(keyValues, kValues)
} else {
// 如果没有值,那么就补一个默认值
kValues.Values = append(kValues.Values, av.GetAttributeViewDefaultValue(ast.NewNodeID(), kv.Key.ID, itemID, kv.Key.Type))
kValues.Values = append(kValues.Values, av.GetAttributeViewDefaultValue(itemID[:14]+ast.NewNodeID()[14:], kv.Key.ID, itemID, kv.Key.Type))
keyValues = append(keyValues, kValues)
}
}