add comment to MkModal.vue

This commit is contained in:
おさむのひと 2024-08-20 12:10:53 +09:00
parent 33f685b527
commit 6baf88e41a

View file

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