mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-30 21:38:48 +01:00
This commit is contained in:
parent
0ef5fb7f1d
commit
4dc29e8fc6
1 changed files with 1 additions and 1 deletions
|
|
@ -653,7 +653,7 @@ export const getSelectHTML = (fields: IAVColumn[], cellElements: HTMLElement[],
|
|||
cellValues.push(genCellValueByElement(isCustomAttr ? item.dataset.type as TAVCol : getTypeByCellElement(item), item));
|
||||
});
|
||||
}
|
||||
const colId = cellElements[0].dataset[blockElement.getAttribute("data-av-type") === "table" ? "colId" : "fieldId"];
|
||||
const colId = getColId(cellElements[0],blockElement.getAttribute("data-av-type") as TAVView);
|
||||
const colData = fields.find(item => {
|
||||
if (item.id === colId) {
|
||||
return item;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue