fix (client): remove invalid non-null assertion
This commit is contained in:
parent
f8e8b3f7ac
commit
7e3cae09a0
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ const ripples = ref<HTMLElement | null>(null);
|
|||
onMounted(() => {
|
||||
if (props.autofocus) {
|
||||
nextTick(() => {
|
||||
el.value!.focus();
|
||||
el.value?.focus();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue