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
1 changed files with 2 additions and 0 deletions

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);