add comment to MkModal.vue

This commit is contained in:
おさむのひと 2024-08-20 12:10:53 +09:00
parent 33f685b527
commit 6baf88e41a
1 changed files with 4 additions and 3 deletions

View File

@ -288,10 +288,11 @@ const align = () => {
const onOpened = () => {
emit('opened');
// contentnextTick
nextTick(() => {
// NOTE: Chromatic undefined
if (content.value == null) return;
nextTick(() => {
//
const el = content.value.children[0];
el.addEventListener('mousedown', ev => {