Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-09-26 19:17:35 +08:00
parent 52eaa5519b
commit 5f6b5b1758
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -4795,7 +4795,9 @@ func updateAttributeViewValue(tx *Transaction, attrView *av.AttributeView, keyID
val.Date.Content = 0
val.Date.FormattedContent = ""
}
val.Date.IsNotTime = !key.Date.FillSpecificTime
if nil != key.Date {
val.Date.IsNotTime = !key.Date.FillSpecificTime
}
} else if av.KeyTypeSelect == val.Type || av.KeyTypeMSelect == val.Type {
if nil != key && 0 < len(val.MSelect) {
var tmp []*av.ValueSelect