🎨 Update av

This commit is contained in:
Daniel 2023-06-10 15:00:04 +08:00
parent bf96331cf6
commit 54799578d7
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 70 additions and 5 deletions

View file

@ -224,6 +224,8 @@ func performTx(tx *Transaction) (ret *TxErr) {
ret = tx.doAddAttrViewColumn(op)
case "removeAttrViewCol":
ret = tx.doRemoveAttrViewColumn(op)
case "updateAttrViewCell":
ret = tx.doUpdateAttrViewCell(op)
}
if nil != ret {
@ -1026,6 +1028,7 @@ type Operation struct {
SrcIDs []string `json:"srcIDs"` // 用于将块拖拽到属性视图中
Name string `json:"name"` // 用于属性视图列名
Typ string `json:"type"` // 用于属性视图列类型
RowID string `json:"rowID"` // 用于属性视图行 ID
discard bool // 用于标识是否在事务合并中丢弃
}