mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-28 11:16:09 +01:00
♻️ Refactor av
This commit is contained in:
parent
67b8566047
commit
28095c5ef7
6 changed files with 112 additions and 87 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue