mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-22 14:05:12 +00: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)) { // 何故かフラグメントになってくることがある
|
} else if (Array.isArray(vnode.children)) { // 何故かフラグメントになってくることがある
|
||||||
const fragment = vnode;
|
const fragment = vnode;
|
||||||
scanOptions(fragment.children);
|
scanOptions(fragment.children);
|
||||||
|
} else if (vnode.props == null) { // v-if で条件が false のときにこうなる
|
||||||
|
// nop?
|
||||||
} else {
|
} else {
|
||||||
const option = vnode;
|
const option = vnode;
|
||||||
pushOption(option);
|
pushOption(option);
|
||||||
|
|
Loading…
Reference in a new issue