This commit is contained in:
Vanessa 2023-07-28 20:16:32 +08:00
parent 119314ba02
commit ebc2111fe8
7 changed files with 78 additions and 29 deletions

View file

@ -131,7 +131,8 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
const addRowElement = hasClosestByClassName(event.target, "av__row--add");
if (addRowElement) {
hintRef("", protyle, true);
(blockElement.querySelector(".av__title") as HTMLInputElement).focus()
hintRef("", protyle, "av");
event.preventDefault();
event.stopPropagation();
return true;