mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-22 03:50:55 +08:00
🎨 Keep the width when duplicating database table view field https://github.com/siyuan-note/siyuan/issues/11552
This commit is contained in:
parent
22c94e9a68
commit
dcb1237af3
@ -59,6 +59,8 @@ func RenderAttributeViewTable(attrView *av.AttributeView, view *av.View, query s
|
|||||||
for _, col := range view.Table.Columns {
|
for _, col := range view.Table.Columns {
|
||||||
key, getErr := attrView.GetKey(col.ID)
|
key, getErr := attrView.GetKey(col.ID)
|
||||||
if nil != getErr {
|
if nil != getErr {
|
||||||
|
// 找不到字段则在视图中删除
|
||||||
|
|
||||||
switch view.LayoutType {
|
switch view.LayoutType {
|
||||||
case av.LayoutTypeTable:
|
case av.LayoutTypeTable:
|
||||||
for i, column := range view.Table.Columns {
|
for i, column := range view.Table.Columns {
|
||||||
|
Loading…
Reference in New Issue
Block a user