fix: null guard check
This commit is contained in:
@@ -113,6 +113,6 @@ defineExpose({
|
||||
});
|
||||
|
||||
if (props.autofocus) {
|
||||
nextTick(() => e.value.editor.commands.focus());
|
||||
nextTick(() => e.value?.editor.commands.focus());
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user