♻️ Refactor av

This commit is contained in:
Daniel 2025-06-08 17:22:03 +08:00
parent 67b8566047
commit 28095c5ef7
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
6 changed files with 112 additions and 87 deletions

View file

@ -1599,6 +1599,10 @@ func (tx *Transaction) doAddAttrViewView(operation *Operation) (ret *TxErr) {
return
}
if "" == operation.Layout {
operation.Layout = av.LayoutTypeTable
}
var view *av.View
switch operation.Layout {
case av.LayoutTypeTable: