🐛 Database table view sorts abnormally after deleting numeric values Fix https://github.com/siyuan-note/siyuan/issues/10476

This commit is contained in:
Daniel 2024-03-01 10:08:56 +08:00
parent 3a5f222e36
commit 1635b4b8c2
No known key found for this signature in database
GPG Key ID: 86211BA83DF03017

View File

@ -2536,6 +2536,7 @@ func UpdateAttributeViewCell(tx *Transaction, avID, keyID, rowID, cellID string,
if nil != val.Number && !val.Number.IsNotEmpty {
// 删除内容为空值
val.Number.Content = 0
val.Number.FormattedContent = ""
}
}