From 9606ba045419242aa6c59097d76a78ca4677e6c7 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 20 Jul 2022 23:01:40 +0900 Subject: [PATCH] fix(client): support v-if of select component --- packages/client/src/components/form/select.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/client/src/components/form/select.vue b/packages/client/src/components/form/select.vue index 7a1f11aa77..70db2dbae3 100644 --- a/packages/client/src/components/form/select.vue +++ b/packages/client/src/components/form/select.vue @@ -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);