🎨 Improve av

This commit is contained in:
Daniel 2025-08-05 17:09:11 +08:00
parent 9098b3f874
commit 3afaa2551e
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 34 additions and 17 deletions

View file

@ -54,6 +54,9 @@ func getAttributeViewAddingBlockDefaultValues(c *gin.Context) {
}
values := model.GetAttrViewAddingBlockDefaultValues(avID, viewID, groupID, previousID, addingBlockID)
if 1 > len(values) {
values = nil
}
ret.Data = map[string]interface{}{
"values": values,
}