This commit is contained in:
Vanessa 2023-07-13 23:18:09 +08:00
parent 2ee0155ee0
commit ca891b6440
3 changed files with 28 additions and 28 deletions

View file

@ -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;