Closed maxiaop closed 2 months ago
请提供最小复现
v-if 有这个问题么
---原始邮件--- 发件人: @.> 发送时间: 2024年4月17日(周三) 下午2:56 收件人: @.>; 抄送: @.***>; 主题: Re: [varletjs/varlet] 为什么在v-show状态下,input框的placeholder消失了? (Issue #1596)
default.gif (view on web)
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
v-if没有
placeholder 涉及位置计算,有可能受 v-show display none 的影响。建议你使用 v-if。
---原始邮件--- 发件人: @.> 发送时间: 2024年4月17日(周三) 下午3:01 收件人: @.>; 抄送: @.**@.>; 主题: Re: [varletjs/varlet] 为什么在v-show状态下,input框的placeholder消失了? (Issue #1596)
v-if没有
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
placeholder 涉及位置计算,有可能受 v-show display none 的影响。建议你使用 v-if。 … ---原始邮件--- 发件人: @.> 发送时间: 2024年4月17日(周三) 下午3:01 收件人: @.>; 抄送: @.**@.>; 主题: Re: [varletjs/varlet] 为什么在v-show状态下,input框的placeholder消失了? (Issue #1596) v-if没有 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
嗯嗯
首次进来页面时placeholder不显示,点击input框时才显示