mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-27 08:10:24 +01:00
fix(client): support v-if of select component
This commit is contained in:
parent
50e3ca19bc
commit
9606ba0454
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue