mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🚨
This commit is contained in:
parent
2ee0155ee0
commit
ca891b6440
3 changed files with 28 additions and 28 deletions
|
|
@ -388,15 +388,15 @@ export const addSelectColAndCell = (protyle: IProtyle, data: IAV, options: {
|
|||
id: Lute.NewNodeID(),
|
||||
value: genCellValue(colData.type, ""),
|
||||
valueType: colData.type
|
||||
}
|
||||
};
|
||||
} else {
|
||||
let hasSelected = false
|
||||
let hasSelected = false;
|
||||
cellData.value.mSelect.find((item) => {
|
||||
if (item.content === currentElement.dataset.name) {
|
||||
hasSelected = true
|
||||
hasSelected = true;
|
||||
return true;
|
||||
}
|
||||
})
|
||||
});
|
||||
if (hasSelected) {
|
||||
menuElement.querySelector("input").focus();
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue