1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-11-25 15:46:17 +09:00

fix(client): support v-if of select component

This commit is contained in:
syuilo 2022-07-20 23:01:40 +09:00
parent 50e3ca19bc
commit 9606ba0454

View File

@ -145,6 +145,8 @@ const onClick = (ev: MouseEvent) => {
} else if (Array.isArray(vnode.children)) { //
const fragment = vnode;
scanOptions(fragment.children);
} else if (vnode.props == null) { // v-if false
// nop?
} else {
const option = vnode;
pushOption(option);