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:
parent
50e3ca19bc
commit
9606ba0454
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user